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:
2015-03-18 18:08:05 +01:00
parent 907ab0d050
commit 247d9431b5

View File

@@ -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
;;
-- )
:
;;