diff options
-rw-r--r-- | packaging/debian/changelog | 7 | ||||
-rwxr-xr-x | src/monkeysphere | 11 | ||||
-rw-r--r-- | src/share/common | 2 |
3 files changed, 16 insertions, 4 deletions
diff --git a/packaging/debian/changelog b/packaging/debian/changelog index 368fdfd..ad4dd06 100644 --- a/packaging/debian/changelog +++ b/packaging/debian/changelog @@ -1,3 +1,10 @@ +monkeysphere (0.28-1~pre1) UNRELEASED; urgency=low + + * New upstream release: + - rename keys-from-userid command to more accurate keys-for-userid + + -- Jameson Rollins <jrollins@finestructure.net> Mon, 11 Jan 2010 23:16:56 -0500 + monkeysphere (0.27-1) unstable; urgency=low * New upstream release: diff --git a/src/monkeysphere b/src/monkeysphere index bc390cc..233e63f 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -50,7 +50,7 @@ subcommands: subkey-to-ssh-agent (s) store authentication subkey in ssh-agent sshfpr (f) KEYID output ssh fingerprint of gpg key - keys-from-userid (u) USERID output valid keys for user id literal + keys-for-userid (u) USERID output valid keys for user id literal gen-subkey (g) [KEYID] generate an authentication subkey --length (-l) BITS key length in bits (2048) @@ -275,8 +275,13 @@ case $COMMAND in gpg_ssh_fingerprint "$@" ;; - 'keys-from-userid'|'u') - keys_from_userid "$@" + 'keys-for-userid'|'u') + keys_for_userid "$@" + ;; + + 'keys-from-userid') + echo "Warning: this usage is deprecated. Please use 'keys-for-userid' instead." >&2 + keys_for_userid "$@" ;; 'version'|'--version'|'v') diff --git a/src/share/common b/src/share/common index de97ef7..7bacd4e 100644 --- a/src/share/common +++ b/src/share/common @@ -762,7 +762,7 @@ process_user_id() { } # output all valid keys for specified user ID literal -keys_from_userid() { +keys_for_userid() { local userID local noKey= local nKeys |