Commit 247d9431 authored by gsell's avatar gsell
Browse files

scripts/Bootstrap/Pmodules/modmanage.in: in sub-command 'init': option...

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
parent 907ab0d0
......@@ -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
;;
-- )
:
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment