From bb578a1cab177e8cee6e4d02144d21387ba13a93 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 27 Nov 2023 21:13:22 -0600 Subject: image-tools: T5751: normalize args using hyphen instead of underscore --- src/op_mode/image_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/op_mode/image_manager.py') diff --git a/src/op_mode/image_manager.py b/src/op_mode/image_manager.py index e4b2f4833..dcbd290c9 100755 --- a/src/op_mode/image_manager.py +++ b/src/op_mode/image_manager.py @@ -172,10 +172,10 @@ def parse_arguments() -> Namespace: required=True, help='action to perform with an image') parser.add_argument( - '--image_name', + '--image-name', help= 'a name of an image to add, delete, install, rename, or set as default') - parser.add_argument('--image_new_name', help='a new name for image') + parser.add_argument('--image-new-name', help='a new name for image') args: Namespace = parser.parse_args() # Validate arguments if args.action == 'rename' and (not args.image_name or -- cgit v1.2.3