Browse Source

make -h option work for mkrootfs and mkplatformfs

Closes: #133 [via git-merge-pr]
Piraty 7 năm trước cách đây
mục cha
commit
b4218de9b2
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      mkplatformfs.sh.in
  2. 1 1
      mkrootfs.sh.in

+ 1 - 1
mkplatformfs.sh.in

@@ -72,7 +72,7 @@ _EOF
 
 BASEPKG=base-system
 
-while getopts "b:p:k:c:C:r:x:h:V" opt; do
+while getopts "b:p:k:c:C:r:x:hV" opt; do
     case $opt in
         b) BASEPKG="$OPTARG" ;;
         p) EXTRA_PKGS="$OPTARG" ;;

+ 1 - 1
mkrootfs.sh.in

@@ -73,7 +73,7 @@ _EOF
 
 # Boilerplate option parsing.  This script supports the bare minimum
 # needed to build an image.
-while getopts "C:c:h:r:x:o:V" opt; do
+while getopts "C:c:hr:x:o:V" opt; do
     case $opt in
         C) XBPS_CONFFILE="-C $OPTARG";;
         c) XBPS_CACHEDIR="--cachedir=$OPTARG";;