Some snapcraft 7.x commands have irrelevant "help" info

Bug #1986645 reported by Robert P. J. Day
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

Pretty sure this relates to several snapcraft 7.x commands, but "snapcraft pull --help" displays numerous options that clearly have no relevance for the pull step:

$ snapcraft pull --help
Usage:
    snapcraft pull [options] <part-name>

Summary:
    Download or retrieve artifacts defined for a part. If part names
    are specified only those parts will be pulled, otherwise all parts
    will be pulled.

Options:
                      -h, --help: Show this help message and exit
                   -v, --verbose: Show debug information and be more
                                   verbose
                     -q, --quiet: Only show warnings and errors, not
                                   progress
                     --verbosity: Set the verbosity level to 'quiet',
                                   'brief', 'verbose', 'debug' or
                                   'trace'
                   -V, --version: Show the application version and exit
              --destructive-mode: Build in the current host
                       --use-lxd: Use LXD to build
                         --debug: Shell into the environment if the
                                   build fails
               --enable-manifest: Generate snap manifest
    --manifest-image-information: Set snap manifest image-info
                      --bind-ssh: Bind ~/.ssh directory to local build
                                   instances
                     --build-for: Set target architecture to build for
                         --shell: Shell into the environment in lieu of
                                   the step to run.
                   --shell-after: Shell into the environment after the
                                   step has run.

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.