Fix formatting on bump-version.

This commit is contained in:
John Kleinschmidt 2017-10-03 15:35:49 -04:00
parent 211688453c
commit 587c49f6b1

View file

@ -14,11 +14,13 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
def main(): def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description='Bump version numbers. Must specify at least one of the three options:\n' description='Bump version numbers. Must specify at least one of the three'
+' options:\n'
+' --bump=patch to increment patch version, or\n' +' --bump=patch to increment patch version, or\n'
+' --stable to promote current beta to stable, or\n' +' --stable to promote current beta to stable, or\n'
+' --version={version} to set version number directly\n' +' --version={version} to set version number directly\n'
+'Note that you can use both --bump and --stable simultaneously.', +'Note that you can use both --bump and --stable '
+'simultaneously.',
formatter_class=argparse.RawTextHelpFormatter formatter_class=argparse.RawTextHelpFormatter
) )
parser.add_argument( parser.add_argument(