Diff for /templates/template.sh between versions 1.1.1.1 and 1.2
version 1.1.1.1, 2011/02/24 15:05:27
|
version 1.2, 2016/01/11 16:02:23
|
Line 110 EOF
|
Line 110 EOF
|
while [ $# -gt 0 ] |
while [ $# -gt 0 ] |
do |
do |
arg=$1 |
arg=$1 |
shift |
|
|
|
case $arg in |
case $arg in |
--man) |
-s|--string-var) |
|
shift |
|
string_var=$1 |
|
;; |
|
-b|--boolean-var) |
|
shift |
|
bool_var=1 |
|
;; |
|
-m|--man) |
man |
man |
break |
break |
;; |
;; |
--version) |
-v|--version) |
echo "Version: $VERSION" |
echo "Version: $VERSION" |
break |
break |
;; |
;; |
Line 126 do
|
Line 133 do
|
break |
break |
;; |
;; |
esac |
esac |
|
|
|
shift |
|
|
done |
done |
|
|
|
|
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>