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 df57457..72b9138 100755
--- a/src/subcommands/mh/gen-key
+++ b/src/subcommands/mh/gen-key
@@ -29,10 +29,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
@@ -46,6 +42,8 @@ while true ; do
failure "Unknown option '$1'.
Type '$PGRM help' for usage."
fi
+ hostName="$1"
+ shift;
break
;;
esac