ceph/ceph — pull request #996 by idryomov (2013-12-25 19:43:36+00:00)
Title: ceph_argparse: kill _daemon versions of argparse calls

Commit c76bbc2e6df1, which introduced _daemon versions of some of the
argparse calls, also changed the behaviour of non-_daemon versions.
The change resulted in incorrect error messages, e.g.

$ ./rbd create b0 --size
rbd: extraneous parameter --size

instead of what should have been

$ ./rbd create b0 --size
Option --size requires an argument.

The users of _daemon versions were added in commit be801f6c506d and
removed in commit f26bd55e57f1, so just kill the _daemon versions and
restore the old behaviour. (This effectively reverts commit
c76bbc2e6df1.)

Signed-off-by: Ilya Dryomov