2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #5739 from neo954/go-xcat

[go-xcat] Fix command line argument handling bug introduced by previous commits
This commit is contained in:
Weihua Hu 2018-10-26 16:15:19 +08:00 committed by GitHub
commit c4dd19e8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
;;