Rename variable

main
Micke Nordin 6 days ago
parent 5ea14a1a38
commit 8d4c9bc470

@ -499,7 +499,10 @@ def get_parser() -> dict:
configcmd.add_argument("-C", configcmd.add_argument("-C",
"--current", "--current",
action=argparse.BooleanOptionalAction) action=argparse.BooleanOptionalAction)
configcmd.add_argument("-l", "--list", action="store_true") configcmd.add_argument("-l",
"--list",
action=argparse.BooleanOptionalAction,
dest="list_config")
configcmd.add_argument("-p", "--password") configcmd.add_argument("-p", "--password")
configcmd.add_argument("-u", "--username") configcmd.add_argument("-u", "--username")
@ -643,8 +646,8 @@ def main() -> int:
config_filename, config_filename,
args.context, args.context,
args.baseurl, args.baseurl,
args.list_config,
args.username, args.username,
args.list,
args.password, args.password,
args.current, args.current,
) )

Loading…
Cancel
Save