]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_argparse: ignore dashes after equals sign
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Thu, 5 May 2011 23:17:34 +0000 (16:17 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Thu, 5 May 2011 23:24:53 +0000 (16:24 -0700)
commit3ee41ab83cfeeef6db7d28d99a90b1cbdcc416e5
tree37c1a543dc3914654c122c15a2e6f41df4a4687e
parent57bc9b3f863bd38b793f628e78ff56b47d780bdb
ceph_argparse: ignore dashes after equals sign

When parsing argv, ignore dashes after equals signs. This is so that
things like --log-file=/tmp/foo-file will work correctly.

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