No more --bin option.
Signed-off-by: Sage Weil <sage@inktank.com>
- $ ceph-authtool kring --create-keyring --gen-key --bin
+ $ ceph-authtool kring --create-keyring --gen-key
creating kring
- $ ceph-authtool --cap osd 'allow rx pool=swimming' --bin kring
+ $ ceph-authtool --cap osd 'allow rx pool=swimming' kring
$ ceph-authtool kring --list|grep -P '^\tcaps '
\tcaps osd = "allow rx pool=swimming" (esc)
- $ ceph-authtool kring --create-keyring --bin
+ $ ceph-authtool kring --create-keyring
creating kring
- $ ceph-authtool kring --list --bin
-
-# --list actually does not use --bin, but autodetects; run it both
-# ways just to trigger that
$ ceph-authtool kring --list
- $ ceph-authtool kring --gen-key --bin
+ $ ceph-authtool kring --gen-key
# cram makes matching escape-containing lines with regexps a bit ugly
$ ceph-authtool kring --list
--cap subsystem capability will set the capability for given subsystem
--caps capsfile will set all of capabilities associated with a
given key, for all subsystems
- -b, --bin will create a binary formatted keyring
[1]
$ touch empty
- $ ceph-authtool --list --bin empty
+ $ ceph-authtool --list empty
- $ ceph-authtool -l --bin empty
+ $ ceph-authtool -l empty
- $ ceph-authtool --list --bin nonexistent
+ $ ceph-authtool --list nonexistent
can't open nonexistent: can't open nonexistent: (2) No such file or directory
[1]
- $ ceph-authtool -l --bin nonexistent
+ $ ceph-authtool -l nonexistent
can't open nonexistent: can't open nonexistent: (2) No such file or directory
[1]
--cap subsystem capability will set the capability for given subsystem
--caps capsfile will set all of capabilities associated with a
given key, for all subsystems
- -b, --bin will create a binary formatted keyring
[1]
# demonstrate that manpage examples fail without config
--cap subsystem capability will set the capability for given subsystem
--caps capsfile will set all of capabilities associated with a
given key, for all subsystems
- -b, --bin will create a binary formatted keyring
[1]