summaryrefslogtreecommitdiff
path: root/src/subcommands/mh/import-key
diff options
context:
space:
mode:
Diffstat (limited to 'src/subcommands/mh/import-key')
-rwxr-xr-xsrc/subcommands/mh/import-key7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/subcommands/mh/import-key b/src/subcommands/mh/import-key
index c33550b..bbeb37f 100755
--- a/src/subcommands/mh/import-key
+++ b/src/subcommands/mh/import-key
@@ -23,10 +23,6 @@ fingerprint_server_key >/dev/null \
# get options
while true ; do
case "$1" in
- -h|--hostname)
- hostName="$2"
- shift 2
- ;;
-f|--keyfile)
keyFile="$2"
shift 2
@@ -40,6 +36,9 @@ while true ; do
failure "Unknown option '$1'.
Type '$PGRM help' for usage."
fi
+ hostName="$1"
+ shift
+ ;;
break
;;
esac