diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-07-28 23:25:58 +0200 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-09-07 19:30:34 +0200 |
commit | 794ed1faec7ced23b5b46d114f5320d718c9e9fb (patch) | |
tree | b623f71016ba6a7406637eef97e287ac9aee6804 | |
parent | 97a97c3c554f689dd3f987e63eaa2b9c5ec1dd0a (diff) | |
download | ceph-794ed1faec7ced23b5b46d114f5320d718c9e9fb.tar.gz |
ceph_authtool.cc: update help/usage text
Added implemented but not listed commands to the help/usage text:
* -g shortcut for --gen-key
* -a shortcut for --add-key
* -u/--set-uid to set auid
* --gen-print-key
* --import-keyring
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 9a9a0ef3f9f39909eaeb95eb99db4711a2425af5)
-rw-r--r-- | src/ceph_authtool.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ceph_authtool.cc b/src/ceph_authtool.cc index 3075d9c69a7..f66a3c66eee 100644 --- a/src/ceph_authtool.cc +++ b/src/ceph_authtool.cc @@ -36,9 +36,15 @@ void usage() << " 'mount -o secret=..' argument\n" << " -C, --create-keyring will create a new keyring, overwriting any\n" << " existing keyringfile\n" - << " --gen-key will generate a new secret key for the\n" + << " -g, --gen-key will generate a new secret key for the\n" << " specified entityname\n" - << " --add-key will add an encoded key to the keyring\n" + << " --gen-print-key will generate a new secret key without set it\n" + << " to the keyringfile, prints the secret to stdout\n" + << " --import-keyring will import the content of a given keyring\n" + << " into the keyringfile\n" + << " -u, --set-uid sets the auid (authenticated user id) for the\n" + << " specified entityname\n" + << " -a, --add-key will add an encoded key to the keyring\n" << " --cap subsystem capability will set the capability for given subsystem\n" << " --caps capsfile will set all of capabilities associated with a\n" << " given key, for all subsystems" |