mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Display warning message about deprecating the -G
option
This commit is contained in:
parent
47d0308b8e
commit
9d8b3bed93
1 changed files with 6 additions and 1 deletions
|
@ -356,7 +356,7 @@ EOT
|
|||
} # ---------- end of function __usage ----------
|
||||
|
||||
|
||||
while getopts ":hvnDc:g:wk:s:MSNXCPFUKIA:i:Lp:dH:ZbflV:J:j:rR:aq" opt
|
||||
while getopts ':hvnDc:g:Gwk:s:MSNXCPFUKIA:i:Lp:dH:ZbflV:J:j:rR:aq' opt
|
||||
do
|
||||
case "${opt}" in
|
||||
|
||||
|
@ -379,6 +379,11 @@ do
|
|||
|
||||
g ) _SALT_REPO_URL=$OPTARG ;;
|
||||
|
||||
G ) echowarn "The '-G' option is DEPRECATED and will be removed in the future stable release!"
|
||||
echowarn "Bootstrap will always use 'https' protocol to clone from SaltStack GitHub repo."
|
||||
echowarn "No need to provide this option anymore, now it is a default behavior."
|
||||
;;
|
||||
|
||||
w ) _DOWNSTREAM_PKG_REPO=$BS_TRUE ;;
|
||||
|
||||
k ) _TEMP_KEYS_DIR="$OPTARG"
|
||||
|
|
Loading…
Add table
Reference in a new issue