From 59f8329c73894cc3870f99a9e967de88db0e6371 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 11 Apr 2016 21:36:00 +0200 Subject: Renaming container stop command option -k, --kill to -f, --force for consistency. Signed-off-by: Daniel Baumann --- lib/container/stop | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/container/stop b/lib/container/stop index a11c155..cd3de10 100755 --- a/lib/container/stop +++ b/lib/container/stop @@ -24,8 +24,8 @@ MACHINES="/var/lib/machines" Parameters () { - LONG_OPTIONS="name:,kill" - OPTIONS="n:,k" + LONG_OPTIONS="name:,force" + OPTIONS="n:,f" PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${COMMAND} --options ${OPTIONS} --shell sh -- ${@})" @@ -45,8 +45,8 @@ Parameters () shift 2 ;; - -k|--kill) - KILL="true" + -f|--force) + FORCE="true" ;; --) @@ -64,7 +64,7 @@ Parameters () Usage () { - echo "Usage: container ${COMMAND} -n|--name NAME [-k|--kill]" >&2 + echo "Usage: container ${COMMAND} -n|--name NAME [-f|--force]" >&2 exit 1 } @@ -93,7 +93,7 @@ case "${STATE}" in ;; esac -case "${KILL}" in +case "${FORCE}" in true) MODE="terminate" ;; -- cgit v1.2.3