From c5afd84bac73e0b469e3c99d0a81d67ea473948d Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 6 Mar 2024 00:34:36 -0600 Subject: [PATCH] fix: use -v for verbose --- src/swydd/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/swydd/__init__.py b/src/swydd/__init__.py index 2a7f0ea..635ddb6 100644 --- a/src/swydd/__init__.py +++ b/src/swydd/__init__.py @@ -188,7 +188,9 @@ def cli() -> None: for flag_args, flag_kwargs in ctx._flag_defs: shared.add_argument(*flag_args, **flag_kwargs) - shared.add_argument("--verbose", help="use verbose output", action="store_true") + shared.add_argument( + "-v", "--verbose", help="use verbose output", action="store_true" + ) shared.add_argument( "-n", "--dry-run", help="don't execute tasks", action="store_true" )