summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2009-01-31 17:27:18 -0500
committerMicah Anderson <micah@riseup.net>2009-01-31 17:27:18 -0500
commitaaa834da0f1eb3ea52aabc9809dfe3510a159797 (patch)
tree1f3ba3973ba68b715e902c149a2510c8235e884c /src
parent848f2e10f0ec24c8cbc12277948159312b4b71c2 (diff)
resyn implementation of m-s gen-key with the help output
Diffstat (limited to 'src')
-rwxr-xr-xsrc/monkeysphere-server5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server
index 2531437..3caa63d 100755
--- a/src/monkeysphere-server
+++ b/src/monkeysphere-server
@@ -406,10 +406,6 @@ gen_key() {
# get options
while true ; do
case "$1" in
- -h|--hostname)
- hostName="$2"
- shift 2
- ;;
-l|--length)
keyLength="$2"
shift 2
@@ -427,6 +423,7 @@ gen_key() {
failure "Unknown option '$1'.
Type '$PGRM help' for usage."
fi
+ hostName="$1"
break
;;
esac