Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6059 closed enhancement (fixed)

Improve help commands

Reported by: antonio Owned by: minondoa
Priority: major Milestone: DRM4G-2.6.1
Component: DRM4G Keywords: drm4g, debug


Change the command and sub-commands doc
Currently are:

  • (a) current vs. (b) proposed

    a b  
    11DRM4G is an open platform, which is based on GridWay Metascheduler, to define,
    22submit, and manage computational jobs. For additional information,
    33see .
    55Usage: drm4g [ --version ] [ --help ]
    66             <command> [ options ] [ <args>... ]
    9     -h --help  Show help.
    10     --version  Show version.
    11     --dbg      Debug mode.
     9    -h --help     Show help.
     10    -v --version  Show version.
     11    -d --debug    Debug mode.
    1313drm4g commands are:
    1414   start       Start DRM4G daemon and ssh-agent
    1515   stop        Stop DRM4G daemon and ssh-agent
    1616   status      Check DRM4G daemon and ssh-agent
    1717   restart     Restart DRM4G daemon
    1818   clear       Start DRM4G daemon deleting all the jobs available on DRM4G
    1919   conf        Configure DRM4G daemon, scheduler and logger parameters
    2020   resource    Manage computing resources
    2121   id          Manage reosurce identities
    2222   host        Print information about the hosts
    2323   job         Submit, get status and history and cancel jobs
    2525See 'drm4g <command> --help' for more information on a specific command.

Change History (3)

comment:1 Changed 6 years ago by antonio

The --debug option should be parser in the wrf4g command instead on each sub-command.

This piece of code, only should be appear at main command

if arg[ '--dbg' ] :

comment:2 Changed 6 years ago by minondoa

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 6 years ago by minondoa

  • Component changed from TracMeteo to DRM4G
  • Keywords drm4g debug added
  • Milestone changed from DRM4G-X.X.X to DRM4G-2.6.1
Note: See TracTickets for help on using tickets.