Skip to content

Commit

Permalink
Fix pki-server selftest-enable/disable
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Dec 16, 2024
1 parent 2b3d75b commit 23fd7f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions base/server/python/pki/server/cli/selftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ def __init__(self):
self.parser.add_argument(
'--help',
action='store_true')
self.parser.add_argument('selftest_id')
self.parser.add_argument(
'selftest_id',
nargs='?')

def print_help(self):
print('Usage: pki-server selftest-enable [OPTIONS] [<Selftest ID>]')
Expand Down Expand Up @@ -141,7 +143,9 @@ def __init__(self):
self.parser.add_argument(
'--help',
action='store_true')
self.parser.add_argument('selftest_id')
self.parser.add_argument(
'selftest_id',
nargs='?')

def print_help(self):
print('Usage: pki-server selftest-disable [OPTIONS] [<Selftest ID>]')
Expand Down

0 comments on commit 23fd7f5

Please sign in to comment.