OSDN Git Service

[update] : Added support v h.
authorhayao <shun819.mail@gmail.com>
Thu, 5 Mar 2020 06:16:32 +0000 (15:16 +0900)
committerhayao <shun819.mail@gmail.com>
Thu, 5 Mar 2020 06:16:32 +0000 (15:16 +0900)
aptpac

diff --git a/aptpac b/aptpac
index 2ac3894..d4ee78e 100755 (executable)
--- a/aptpac
+++ b/aptpac
@@ -45,7 +45,7 @@ ADD_OPTION () {
     OPTIONS="${OPTIONS} ${@}"
 }
 
-while getopts 'ydf-:c:' arg; do
+while getopts 'ydf-:c:hv' arg; do
     case "${arg}" in
         y) ADD_OPTION "--noconfirm" ;;
         d) ADD_OPTION "-w" ;;