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