Forgot getopts option
This commit is contained in:
parent
93b1d0667f
commit
7df5303bec
2
samba.sh
2
samba.sh
@ -178,7 +178,7 @@ The 'command' (if provided and valid) will be run instead of samba
|
|||||||
exit $RC
|
exit $RC
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts ":hi:nps:mt:u:w:" opt; do
|
while getopts ":hi:npls:mt:u:w:" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
h) usage ;;
|
h) usage ;;
|
||||||
i) import "$OPTARG" ;;
|
i) import "$OPTARG" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user