No help text for the "help" sub-command when in a directory containing snapcraft.yaml
Bug #2065230 reported by
林博仁(Buo-ren, Lin)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Callahan Kovacs |
Bug Description
```
$ snapcraft --version
snapcraft 8.2.5
$ snapcraft help help
Usage: snapcraft [options] command [args]...
Try 'snapcraft -h' for help.
Error: command 'help' not found to provide help for
```
I was originally wanna check whether there an option to specify which base snap to provide the help text of the autotools plugin.
To post a comment you must log in.
Wait... the help text is indeed implemented, however, the problem can be reproduced on a different working directory!!?
``` fw13:~/ 文件$ snapcraft help help
brlin@brlin-
Usage: snapcraft [options] command [args]...
Try 'snapcraft -h' for help.
Error: command 'help' not found to provide help for
brlin@brlin- fw13:~/ 文件$ cd nano-snap fw13:~/ 文件/nano- snap$ snapcraft help help
brlin@brlin-
Usage: snapcraft help [OPTIONS] <topic>
Obtain help for a certain topic, plugin or command.
The <topic> can either be a plugin name or one of:
- topics
- plugins
- sources
Examples:
snapcraft help topics
snapcraft help plugins
snapcraft help sources
snapcraft help go
snapcraft help go --base core18
snapcraft help build
Options: fw13:~/ 文件/nano- snap$ locale "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" "zh_TW. UTF-8" ON="zh_ TW.UTF- 8"
--devel Show more details for snapcraft developers
--base [core18|core20] Show help for specific base
-h, --help Show this message and exit.
brlin@brlin-
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:zh
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
```