summaryrefslogtreecommitdiff
path: root/src/subcommands/mh/gen-key
diff options
context:
space:
mode:
Diffstat (limited to 'src/subcommands/mh/gen-key')
-rwxr-xr-xsrc/subcommands/mh/gen-key6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/subcommands/mh/gen-key b/src/subcommands/mh/gen-key
index 37469c7..554c04c 100755
--- a/src/subcommands/mh/gen-key
+++ b/src/subcommands/mh/gen-key
@@ -28,10 +28,6 @@ fingerprint_server_key >/dev/null \
# get options
while true ; do
case "$1" in
- -h|--hostname)
- hostName="$2"
- shift 2
- ;;
-l|--length)
keyLength="$2"
shift 2
@@ -49,6 +45,8 @@ while true ; do
failure "Unknown option '$1'.
Type '$PGRM help' for usage."
fi
+ hostName="$1"
+ shift;
break
;;
esac