Skip to content

Commit

Permalink
Take out -h from subcommands since some don't work
Browse files Browse the repository at this point in the history
  • Loading branch information
xchang1 committed Dec 19, 2024
1 parent 1c667d8 commit 491d32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/vgmanmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
# help for each cmd
for cmd in cmds:
print('## {cmd}\n\n'.format(cmd=cmd))
# run subcommand with -h
ret = subprocess.run(['vg', cmd, '-h'], capture_output=True)
# run subcommand without -h because not everything has -h
ret = subprocess.run(['vg', cmd], capture_output=True)
print('```')
if cmd in desc:
print(desc[cmd])
Expand Down

0 comments on commit 491d32a

Please sign in to comment.