Reply to Message

View discussion in a popup

Replying to:
PGinhoux
Enthusiast
Enthusiast

Thanks,

I can now run the help command

Command> software-packages -h
usage: software-packages [-h] {stage,unstage,validate,install,list} ...

optional arguments:
  -h, --help            show this help message and exit

sub-commands:
  {stage,unstage,validate,install,list}
    stage               Stage software update packages
    unstage             Purge staged software update packages
    validate            Validate software update packages
    install             Install software update packages
    list                List details of software update packages

but the one as documented on the site still fails (with double '--' or a single '-') :

Command> software-packages list --staged

usage: software-packages [-h] {stage,unstage,validate,install,list} ...

software-packages: error: unrecognized arguments: –-staged

Command>

Command> software-packages list -staged

usage: software-packages [-h] {stage,unstage,validate,install,list} ...

software-packages: error: unrecognized arguments: –staged

Reply
0 Kudos