Skip to content

Commit c68d3bc

Browse files
committed
1 parent e445546 commit c68d3bc

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
venv/

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
templates_path = ['_templates']
2929
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
3030

31-
man_pages = [ ('man', 'prog', 'bug example', '', 1) ]
31+
man_pages = [ ('man', 'bug-example-1', 'bug example', '', 1) ]
3232

3333

3434
# -- Options for HTML output -------------------------------------------------

example/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import argparse
22
def parser():
3-
p = argparse.ArgumentParser()
3+
p = argparse.ArgumentParser(prog="bug-example-3")
44
s = p.add_subparsers()
55
s.add_parser("foo")
66
return p

man.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Bug Example
55
.. sphinx_argparse_cli::
66
:module: example.cli
77
:func: parser
8-
:prog: bug-example
8+
:prog: bug-example-2
99
:title: Synopsis
1010

0 commit comments

Comments
 (0)