]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-18169] install: allow using both --dev and --dev-commit
authorAlfredo Deza <adeza@redhat.com>
Thu, 8 Dec 2016 14:56:15 +0000 (09:56 -0500)
committerAlfredo Deza <adeza@redhat.com>
Thu, 8 Dec 2016 15:14:54 +0000 (10:14 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph_deploy/install.py

index 93529f90e76fc2e5ff610433b436eb5a7222b0c6..34fc76211d426f0e53d2a0a98bff7c696b650137 100644 (file)
@@ -470,12 +470,12 @@ def make(parser):
         help='install a bleeding edge build from Git branch\
                 or tag (default: %(default)s)',
     )
-    version.add_argument(
+    parser.add_argument(
         '--dev-commit',
         nargs='?',
         action=StoreVersion,
         metavar='COMMIT',
-        help='install a bleeding edge build from Git commit',
+        help='install a bleeding edge build from Git commit (defaults to master branch)',
     )
 
     version.set_defaults(