Skip to content

Commit

Permalink
Reinstate usage
Browse files Browse the repository at this point in the history
  • Loading branch information
graemenail committed Feb 7, 2022
1 parent e0e4f60 commit c8b07e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions _scripts/generate_cli_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def parse_help(help_file):
# Set usage mode
if line.startswith("Usage:"):
mode = 1
line = line.replace("Usage: ","")

# Set options mode
if line.strip().endswith("options:"):
Expand Down
2 changes: 2 additions & 0 deletions docs/cmd/_template.tmp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ icon: fa-file-code-o

Version: {version}

Usage: `{usage}`

{options}

{examples}

0 comments on commit c8b07e4

Please sign in to comment.