From: Alfredo Deza Date: Thu, 8 Dec 2016 14:56:15 +0000 (-0500) Subject: [RM-18169] install: allow using both --dev and --dev-commit X-Git-Tag: v1.5.37~3^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b5ea5dd0ce16b502979fd3a8a9789f304a79ba7f;p=ceph-deploy.git [RM-18169] install: allow using both --dev and --dev-commit Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index 93529f9..34fc762 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -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(