mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
actions: Make subparsers mandatory for service action too
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 file changed
+1
@@ -51,6 +51,7 @@ def parse_arguments():
|
||||
|
||||
subparsers.add_parser('list', help='List of running system services')
|
||||
|
||||
subparsers.required = True
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user