Align usage message lines (fix #335)

Print newlines only when necessary

Correct coma to comma in usage message
This commit is contained in:
James Reed 2018-11-25 08:45:40 -07:00
parent 1b535f920b
commit 46286047f6
No known key found for this signature in database
GPG Key ID: 8F79994F6B8378C1

8
tomb
View File

@ -652,14 +652,14 @@ usage() {
[[ $QRENCODE == 1 ]] && {
_print " // Backup on paper:"
_print " engrave makes a QR code of a KEY to be saved on paper"
}
echo
}
[[ $STEGHIDE == 1 ]] && {
_print " // Steganography:"
_print " bury hide a KEY inside a JPEG image (for use with -k)"
_print " exhume extract a KEY from a JPEG image (prints to stdout)"
}
echo
}
_print "Options:"
echo
_print " -s size of the tomb file when creating/resizing one (in MiB)"
@ -669,8 +669,8 @@ usage() {
_print " -o options passed to commands: open, lock, forge (see man)"
_print " -f force operation (i.e. even if swap is active)"
_print " -g use a GnuPG key to encrypt a tomb key"
_print " -r provide GnuPG recipients (separated by coma)"
_print " -R provide GnuPG hidden recipients (separated by coma)"
_print " -r provide GnuPG recipients (separated by comma)"
_print " -R provide GnuPG hidden recipients (separated by comma)"
[[ $KDF == 1 ]] && {
_print " --kdf forge keys armored against dictionary attacks"