]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_argparse: handle double dashes consistently
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 23 Aug 2011 23:30:03 +0000 (16:30 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 23 Aug 2011 23:30:03 +0000 (16:30 -0700)
commiteecf4d61754dcf304a3b112d742e5ac7b9b164ac
tree9a96913798aaf99580a4d9b271082b690f0888f7
parent18ec5655feb805c1c113410d49f92516e8a9c3aa
ceph_argparse: handle double dashes consistently

Handle double dashes in the ceph_argparse functions, so that any piece
of code doing argument parsing will correctly interpret them.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/common/ceph_argparse.cc
src/common/config.cc
src/test/ceph_argparse.cc