accepting "--version" as well as "version" subcommand for monkeysphere-host and monke...
[monkeysphere.git] / src / monkeysphere
index 233e63f8e0e56c2faa1a1597b90ce9ae19ad0d70..1dee3bab81411bf6c03441a0dfa6fc3cf1c089ae 100755 (executable)
@@ -146,7 +146,7 @@ check_gpg_authentication_subkey() {
        # if authentication key is valid, prompt to continue
        if [ "$validity" = 'u' ] ; then
            echo "A valid authentication key already exists for primary key '$keyID'." 1>&2
-           if [ "$PROMPT" = "true" ] ; then
+           if [ "$PROMPT" != "false" ] ; then
                printf "Are you sure you would like to generate another one? (y/N) " >&2
                read OK; OK=${OK:N}
                if [ "${OK/y/Y}" != 'Y' ] ; then
@@ -280,7 +280,7 @@ case $COMMAND in
        ;;
 
     'keys-from-userid')
-       echo "Warning: this usage is deprecated.  Please use 'keys-for-userid' instead." >&2
+       echo "Warning: 'keys-from-userid' is deprecated.  Please use 'keys-for-userid' instead." >&2
        keys_for_userid "$@"
        ;;