help command replaces the name of commands with itself

Bug #1745040 reported by Kyle Fazzari
18
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`.

Revision history for this message
Ricardo N Feliciano (felicianotech) wrote :
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.