From 5d84b4a22b2ff975679711719f336a312a6edff3 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 2 Aug 2012 13:02:04 -0700 Subject: [PATCH] ceph-authtool: Fix usage, it's --print-key not --print. Signed-off-by: Tommi Virtanen --- src/ceph_authtool.cc | 2 +- src/test/cli/ceph-authtool/help.t | 2 +- src/test/cli/ceph-authtool/manpage.t | 2 +- src/test/cli/ceph-authtool/simple.t | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ceph_authtool.cc b/src/ceph_authtool.cc index 41defd354cac6..e7394d08a54e5 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 957325dabc035..7434ec4a7c00d 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 b87059e390e10..69e15fa51c357 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 16a1d50adaf6a..69d027c13421d 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 -- 2.39.5