mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
actions: Make subparsers mandatory for service action too
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
634afef1c9
commit
6a91945219
@ -51,6 +51,7 @@ def parse_arguments():
|
|||||||
|
|
||||||
subparsers.add_parser('list', help='List of running system services')
|
subparsers.add_parser('list', help='List of running system services')
|
||||||
|
|
||||||
|
subparsers.required = True
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user