Skip to content

Commit 4a009d4

Browse files
Improve --help
Signed-off-by: Gilles Peskine <[email protected]>
1 parent c69a7f6 commit 4a009d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/generate_tls_handshake_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,10 @@ def write_handshake_tests(out: typing_util.Writable) -> None:
167167
def main() -> None:
168168
"""Command line entry point."""
169169
parser = argparse.ArgumentParser()
170+
parser = argparse.ArgumentParser(description=__doc__)
170171
parser.add_argument('-o', '--output',
171172
default='tests/opt-testcases/handshake-generated.sh',
172-
help='Output file')
173+
help='Output file (default: tests/opt-testcases/handshake-generated.sh)')
173174
args = parser.parse_args()
174175
with open(args.output, 'w') as out:
175176
write_handshake_tests(out)

0 commit comments

Comments
 (0)