From 5a263f3d741d73aea7977207ea339761b674caaf Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 18 Dec 2022 13:43:07 -0500 Subject: [PATCH] Declare choices using choices keyword. Ref #611. --- keyring/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyring/cli.py b/keyring/cli.py index 57b23b53..e4a4c78f 100755 --- a/keyring/cli.py +++ b/keyring/cli.py @@ -37,7 +37,7 @@ def __init__(self): ) self.parser.add_argument( 'operation', - help="get|set|del", + choices=["get", "set", "del"], nargs="?", ) self.parser.add_argument(