Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Expand help
  • Loading branch information
encukou committed Jul 22, 2024
commit 8b8a2f92512b3c598bbeb68a5a8693e8e31fc6a5
10 changes: 6 additions & 4 deletions Doc/tools/version_next.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('version',
help='String to replace "next" with.')
help='String to replace "next" with. Usually `x.y`, '
+ 'but can be anything.')
parser.add_argument('directory', type=Path, nargs='?',
help=f'Directory to process. Default: {docdir}',
default=docdir)
parser.add_argument('--verbose', '-v', action='count', default=0)
help=f'Directory to process. Default: {doc_dir}',
default=doc_dir)
parser.add_argument('--verbose', '-v', action='count', default=0,
help='Increase verbosity. Can be repeated (`-vv`).')


def main(argv):
Comment thread
encukou marked this conversation as resolved.
Outdated
Expand Down