Comment 2 for bug 1501222

Revision history for this message
Leo Arias (elopio) wrote :

snapcraft help, snapcraft -h and snapcraft --help all work.

snapcraft version, snapcraft -v and snapcraft --version don't work:

elopio@tangamandapio76:~/workspace/canonical/snapcraft$ bzr branch lp:snapcraft trunk
Branched 258 revisions.
elopio@tangamandapio76:~/workspace/canonical/snapcraft$ cd trunk/
elopio@tangamandapio76:~/workspace/canonical/snapcraft/trunk$ ./bin/snapcraft -v
usage: snapcraft [-h] [--version]
                 {init,shell,run,list-plugins,clean,help,pull,build,stage,snap,assemble,all}
                 ...
snapcraft: error: unrecognized arguments: -v
elopio@tangamandapio76:~/workspace/canonical/snapcraft/trunk$ ./bin/snapcraft --version
snapcraft (devel). Run "snapcraft help" to get started.
elopio@tangamandapio76:~/workspace/canonical/snapcraft/trunk$ ./bin/snapcraft version
usage: snapcraft [-h] [--version]
                 {init,shell,run,list-plugins,clean,help,pull,build,stage,snap,assemble,all}
                 ...
snapcraft: error: argument cmd: invalid choice: 'version' (choose from 'init', 'shell', 'run', 'list-plugins', 'clean', 'help', 'pull', 'build', 'stage', 'snap', 'assemble', 'all')