help command replaces the name of commands with itself
Bug #1745040 reported by
Kyle Fazzari
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Ricardo N Feliciano |
Bug Description
Look closely at the output of these two commands:
$ snapcraft init --help
Usage: snapcraft init [OPTIONS]
Initialize a snapcraft project.
Options:
--help Show this message and exit.
$ snapcraft help init
Usage: snapcraft help [OPTIONS]
Initialize a snapcraft project.
Options:
--help Show this message and exit.
Notice that when you run `snapcraft help init` it uses the `help` command in the usage text instead of `init`.
Changed in snapcraft: | |
assignee: | nobody → Ricardo N Feliciano (felicianotech) |
milestone: | none → 3.1 |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
PR: https:/ /github. com/snapcore/ snapcraft/ pull/2429