scripts/Bootstrap/Pmodules/modmanage.in: in sub-command 'init': option '--version=' added, with this option you specify the version of Pmodules to be sync'ed
This commit is contained in:
@@ -142,7 +142,7 @@ subcommand_init() {
|
||||
local target_prefixes=()
|
||||
local user=''
|
||||
local opts=''
|
||||
opts=$(get_options -o h -l src: -l user: -l help -- "$@")
|
||||
opts=$(get_options -o h -l src: -l user: -l help -l version: -- "$@")
|
||||
if [[ $? != 0 ]]; then
|
||||
subcommand_help_init
|
||||
exit 1
|
||||
@@ -158,6 +158,10 @@ subcommand_init() {
|
||||
user=$2
|
||||
shift
|
||||
;;
|
||||
--version )
|
||||
PMODULES_VERSION=$2
|
||||
shift
|
||||
;;
|
||||
-- )
|
||||
:
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user