Opened 5 years ago

Closed 5 years ago

Last modified 5 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
Cc:

Description

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 http://meteo.unican.es/trac/wiki/DRM4G .
    44
    55Usage: drm4g [ --version ] [ --help ]
    66             <command> [ options ] [ <args>... ]
    77
    88Options:
    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.
    1212
    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
    2424
    2525See 'drm4g <command> --help' for more information on a specific command.

Change History (3)

comment:1 Changed 5 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' ] :
    logger.setLevel(logging.DEBUG)

comment:2 Changed 5 years ago by minondoa

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

comment:3 Changed 5 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.