]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: --keyring must be passed to parse_argv, which means not argparse
authorDan Mick <dan.mick@inktank.com>
Tue, 11 Jun 2013 01:08:31 +0000 (18:08 -0700)
committerDan Mick <dan.mick@inktank.com>
Tue, 11 Jun 2013 01:09:05 +0000 (18:09 -0700)
If argparse gets its hands on it, it's not available for parse_argv()
and is therefore ignored.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/ceph.in

index ad2df9ad35d27cff19621c75b1456ce67828f93a..9b048597e18d8517aa6965d4b00287c1fa7a2e85 100755 (executable)
@@ -794,8 +794,6 @@ def parse_cmdargs(args=None, target=''):
                         help='input file')
     parser.add_argument('-o', '--out-file', dest='output_file',
                         help='output file')
-    parser.add_argument('-k', '--keyring', dest='keyring_file',
-                        help='keyring file')
 
     parser.add_argument('--id', '--user', dest='client_id',
                         help='client id for authentication')