No such option: --verbosity

Bug #2020891 reported by Nathan Teodosio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On Snapcraft 7.3.2, I run

--->
$ snapcraft --verbosity=debug --debug --use-lxd
2023-05-26 15:03:01.808 Starting Snapcraft 7.3.2
2023-05-26 15:03:01.808 Logging execution to '/home/nteodosio/.local/state/snapcraft/log/snapcraft-20230526-150301.807799.log'
2023-05-26 15:03:01.811 lifecycle command: 'pack', arguments: Namespace(bind_ssh=False, build_for=None, debug=True, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=True)
2023-05-26 15:03:01.811 command: pack, arguments: Namespace(bind_ssh=False, build_for=None, debug=True, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=True)
Usage: snapcraft [OPTIONS] COMMAND [ARGS]...
Try 'snapcraft -h' for help.

Error: No such option: --verbosity (Possible options: --verbose, --version)
<---

(Same thing with snapcraft build --verbosity=debug --debug --use-lxd).

but "snapcraft build --help" says:

--->
   --verbosity: Set the verbosity level to
                                        'quiet', 'brief', 'verbose',
                                        'debug' or 'trace'
<---

Revision history for this message
Callahan Kovacs (mr-cal) wrote :

Thanks for the bug report, Nathan!

This looks like a duplicate of https://bugs.launchpad.net/snapcraft/+bug/2016662

Changed in snapcraft (Ubuntu):
status: New → Confirmed
Revision history for this message
Nathan Teodosio (nteodosio) wrote :

You're welcome, Callahan. Indeed, this is a duplicate.

Revision history for this message
Nathan Teodosio (nteodosio) wrote :

This error message will also appear when you mispell an unrelated argument, e.g.

$ snapcraft --verbosity=debug ==debug --use-lxd
Error: No such option: --verbosity (Possible options: --verbose, --version)

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.