Commit 1997adb2 authored by Vincent Pelletier's avatar Vincent Pelletier

http: Improve coding style a bit.

parent 8283ffeb
...@@ -445,7 +445,7 @@ def main( ...@@ -445,7 +445,7 @@ def main(
default=[], default=[],
nargs='+', nargs='+',
metavar='URL', metavar='URL',
help='Origin values to always trust. default: none' help='Origin values to always trust. default: none',
) )
parser.add_argument( parser.add_argument(
'--netloc', '--netloc',
...@@ -538,7 +538,7 @@ def main( ...@@ -538,7 +538,7 @@ def main(
metavar='COUNT', metavar='COUNT',
help='Number service certificates which should be automatically signed on ' help='Number service certificates which should be automatically signed on '
'submission, excluding the one needed to serve caucase. ' 'submission, excluding the one needed to serve caucase. '
'default: %(default)s' 'default: %(default)s',
) )
user_group.add_argument( user_group.add_argument(
'--user-auto-approve-count', '--user-auto-approve-count',
...@@ -548,6 +548,7 @@ def main( ...@@ -548,6 +548,7 @@ def main(
help='Number of user certificates which should be automatically signed on ' help='Number of user certificates which should be automatically signed on '
'submission. default: %(default)s', 'submission. default: %(default)s',
) )
parser.add_argument( parser.add_argument(
'--lock-auto-approve-count', '--lock-auto-approve-count',
action='store_true', action='store_true',
...@@ -555,7 +556,7 @@ def main( ...@@ -555,7 +556,7 @@ def main(
'and --user-auto-approve-count values are stored inside caucase database ' 'and --user-auto-approve-count values are stored inside caucase database '
'and will not be altered by further invocations. Once the respective ' 'and will not be altered by further invocations. Once the respective '
'certificate issuance counters reach these values, no further ' 'certificate issuance counters reach these values, no further '
'certificates will be ever automatically signed.' 'certificates will be ever automatically signed.',
) )
backup_group = parser.add_argument_group( backup_group = parser.add_argument_group(
...@@ -573,7 +574,7 @@ def main( ...@@ -573,7 +574,7 @@ def main(
'--backup-period', '--backup-period',
default=1, default=1,
type=float, type=float,
help='Number of days between backups. default: %(default)s' help='Number of days between backups. default: %(default)s',
) )
args = parser.parse_args(argv) args = parser.parse_args(argv)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment