From 247d9431b51ebcec50494b3cae9ad9fb9b693ec8 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 18 Mar 2015 18:08:05 +0100 Subject: [PATCH] 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 --- scripts/Bootstrap/Pmodules/modmanage.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/Bootstrap/Pmodules/modmanage.in b/scripts/Bootstrap/Pmodules/modmanage.in index 4579575..5168a50 100755 --- a/scripts/Bootstrap/Pmodules/modmanage.in +++ b/scripts/Bootstrap/Pmodules/modmanage.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 + ;; -- ) : ;;