From: Tommi Virtanen Date: Thu, 2 Aug 2012 20:02:04 +0000 (-0700) Subject: ceph-authtool: Fix usage, it's --print-key not --print. X-Git-Tag: v0.51~43 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4e40a7849442d633c9801639fbdaf27a97f39888;p=ceph.git ceph-authtool: Fix usage, it's --print-key not --print. Signed-off-by: Tommi Virtanen --- diff --git a/src/ceph_authtool.cc b/src/ceph_authtool.cc index 035994c17ea9..c0a06ca1e537 100644 --- a/src/ceph_authtool.cc +++ b/src/ceph_authtool.cc @@ -33,7 +33,7 @@ void usage() << "where the options are:\n" << " -l, --list will list all keys and capabilities present in\n" << " the keyring\n" - << " -p, --print will print an encoded key for the specified\n" + << " -p, --print-key will print an encoded key for the specified\n" << " entityname. This is suitable for the\n" << " 'mount -o secret=..' argument\n" << " -C, --create-keyring will create a new keyring, overwriting any\n" diff --git a/src/test/cli/ceph-authtool/help.t b/src/test/cli/ceph-authtool/help.t index 957325dabc03..7434ec4a7c00 100644 --- a/src/test/cli/ceph-authtool/help.t +++ b/src/test/cli/ceph-authtool/help.t @@ -5,7 +5,7 @@ where the options are: -l, --list will list all keys and capabilities present in the keyring - -p, --print will print an encoded key for the specified + -p, --print-key will print an encoded key for the specified entityname. This is suitable for the 'mount -o secret=..' argument -C, --create-keyring will create a new keyring, overwriting any diff --git a/src/test/cli/ceph-authtool/manpage.t b/src/test/cli/ceph-authtool/manpage.t index b87059e390e1..69e15fa51c35 100644 --- a/src/test/cli/ceph-authtool/manpage.t +++ b/src/test/cli/ceph-authtool/manpage.t @@ -4,7 +4,7 @@ where the options are: -l, --list will list all keys and capabilities present in the keyring - -p, --print will print an encoded key for the specified + -p, --print-key will print an encoded key for the specified entityname. This is suitable for the 'mount -o secret=..' argument -C, --create-keyring will create a new keyring, overwriting any diff --git a/src/test/cli/ceph-authtool/simple.t b/src/test/cli/ceph-authtool/simple.t index 16a1d50adaf6..69d027c13421 100644 --- a/src/test/cli/ceph-authtool/simple.t +++ b/src/test/cli/ceph-authtool/simple.t @@ -4,7 +4,7 @@ where the options are: -l, --list will list all keys and capabilities present in the keyring - -p, --print will print an encoded key for the specified + -p, --print-key will print an encoded key for the specified entityname. This is suitable for the 'mount -o secret=..' argument -C, --create-keyring will create a new keyring, overwriting any