mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
actions: Make subparsers mandatory, fixes calls without arguments
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
8ef476d26a
commit
634afef1c9
29 files changed
+29
No files matched your search
@@ -43,6 +43,7 @@ def parse_arguments():
|
||||
set_keys.add_argument('--username')
|
||||
set_keys.add_argument('--keys')
|
||||
|
||||
subparsers.required = True
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user