summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pro-archman.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pro-archman.sh b/src/pro-archman.sh
index 2e0332e..dd8fe2e 100644
--- a/src/pro-archman.sh
+++ b/src/pro-archman.sh
@@ -29,6 +29,7 @@ PKGLIBCMDDIR='@@PKGLIBCMDDIR@@'
PKGLIBCMD='@@PKGLIBCMD@@'
LF='
'
+OPTSTRING='hVb:'
# Global variables
loading_cmd=
@@ -123,7 +124,7 @@ get_options()
{
local opt=
- while getopts 'b:hV' opt; do
+ while getopts "${OPTSTRING}" opt; do
case "${opt}" in
'b')
opt_base_dir="$(cd "${OPTARG}" && pwd)"