help command replaces the name of commands with itself

Bug #1745040 reported by Kyle Fazzari on 2018-01-23
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Snapcraft
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.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers