Change -0 in -I

Signed-off-by: Ste74 <stefano@manjaro.org>
This commit is contained in:
Ste74 2018-09-19 22:20:46 +02:00
parent 5237a2cb4e
commit 26b1110acd
No known key found for this signature in database
GPG key ID: 8DB9F8C18DF53602
2 changed files with 5 additions and 5 deletions

View file

@ -200,7 +200,7 @@ buildiso is used to build manjaro-iso-profiles. It is run insde the profiles fol
~~~ ~~~
$ buildiso -h $ buildiso -h
Usage: buildiso [options] Usage: buildiso [options]
-0 Initialize iso-profiles repo [default: v17.1]" -I Initialize iso-profiles repo [default: v17.1]"
-a <arch> Arch [default: auto] -a <arch> Arch [default: auto]
-b <branch> Branch [default: stable] -b <branch> Branch [default: stable]
-c Disable clean work dir -c Disable clean work dir
@ -228,7 +228,7 @@ Usage: buildiso [options]
* Remember: if you run buildiso for the first time you need to do: * Remember: if you run buildiso for the first time you need to do:
~~~ ~~~
buildiso -0 buildiso -I
~~~ ~~~
for download in /usr/share/manjaro-tools/iso-profiles our manjaro profiles. You can override in manjaro-tools.conf what branch use with buildiso: v17.1 or master ( development profiles ). The previous command can be used to refresh the profiles as needed in your local. for download in /usr/share/manjaro-tools/iso-profiles our manjaro profiles. You can override in manjaro-tools.conf what branch use with buildiso: v17.1 or master ( development profiles ). The previous command can be used to refresh the profiles as needed in your local.

View file

@ -104,7 +104,7 @@ initialize=false
usage() { usage() {
echo "Usage: ${0##*/} [options]" echo "Usage: ${0##*/} [options]"
echo " -0 Initialize iso-profiles repo [default: ${branch}]" echo " -I Initialize iso-profiles repo [default: ${branch}]"
echo " -p <profile> Buildset or profile [default: ${build_list_iso}]" echo " -p <profile> Buildset or profile [default: ${build_list_iso}]"
echo " -a <arch> Arch [default: ${target_arch}]" echo " -a <arch> Arch [default: ${target_arch}]"
echo " -b <branch> Branch [default: ${target_branch}]" echo " -b <branch> Branch [default: ${target_branch}]"
@ -134,11 +134,11 @@ usage() {
orig_argv=("$@") orig_argv=("$@")
opts='p:a:b:r:t:k:i:g:d:cfzxmvqh0' opts='p:a:b:r:t:k:i:g:d:cfzxmvqhI'
while getopts "${opts}" arg; do while getopts "${opts}" arg; do
case "${arg}" in case "${arg}" in
0) initialize=true ;; I) initialize=true ;;
a) target_arch="$OPTARG" ;; a) target_arch="$OPTARG" ;;
b) target_branch="$OPTARG" ;; b) target_branch="$OPTARG" ;;
c) clean_first=false ;; c) clean_first=false ;;