diff --git a/script/bump-version.py b/script/bump-version.py index 40dd75962895..653473cd2786 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -14,7 +14,12 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) def main(): parser = argparse.ArgumentParser( - description='Bump version numbers. Must specify at least one option.' + description='Bump version numbers. Must specify at least one of the three options:\n' + +' --bump=patch to increment patch version, or\n' + +' --stable to promote current beta to stable, or\n' + +' --version={version} to set version number directly\n' + +'Note that you can use both --bump and --stable simultaneously.', + formatter_class=argparse.RawTextHelpFormatter ) parser.add_argument( '--version',