Skip to content
Snippets Groups Projects
Commit 05bfe89b authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Document command line arguments.

parent b3e244a8
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,13 @@ def __main() -> None: ...@@ -13,8 +13,13 @@ def __main() -> None:
prog='puppet-doc configure', prog='puppet-doc configure',
description='Sets up puppet doc') description='Sets up puppet doc')
parser.add_argument('--env', action='store') parser.add_argument('--env', action='store', help='''
parser.add_argument('modules', nargs='*', type=pathlib.Path) Path to a puppet `modules` directory.
''')
parser.add_argument('modules', nargs='*', type=pathlib.Path, help='''
Any number of specific modules to generate documentation for.
Mutually exclusive with --env.
''')
args = parser.parse_args() args = parser.parse_args()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment