From 1fc3e2d18c7b8064df181edde0b2442f2ed07cf3 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Fri, 26 Oct 2018 16:03:58 +0800 Subject: [PATCH] [go-xcat] Fix command line argument handling bug introduced by previous commits --- xCAT-server/share/xcat/tools/go-xcat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/share/xcat/tools/go-xcat b/xCAT-server/share/xcat/tools/go-xcat index 9a87bbcef..b43e95bd4 100755 --- a/xCAT-server/share/xcat/tools/go-xcat +++ b/xCAT-server/share/xcat/tools/go-xcat @@ -2,7 +2,7 @@ # # go-xcat - Install xCAT automatically. # -# Version 1.0.30 +# Version 1.0.32 # # Copyright (C) 2016, 2017, 2018 International Business Machines # Eclipse Public License, Version 1.0 (EPL-1.0) @@ -1868,7 +1868,7 @@ do verbose_usage exit 0 ;; - "-x"|"--xcat-core") + "--xcat-core") shift GO_XCAT_CORE_URL="$1" ;; @@ -1882,7 +1882,7 @@ do "--xcat-dep="*) GO_XCAT_DEP_URL="${1##--xcat-dep=}" ;; - "--xcat-version") + "-x"|"--xcat-version") shift GO_XCAT_VERSION="$1" ;;