summaryrefslogtreecommitdiff
path: root/bin/lsrc.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/lsrc.in')
-rwxr-xr-xbin/lsrc.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/lsrc.in b/bin/lsrc.in
index 951f3df..ec900a2 100755
--- a/bin/lsrc.in
+++ b/bin/lsrc.in
@@ -229,7 +229,7 @@ handle_command_line() {
local symlink_dirs=
local hostname=
- while getopts FVqvhI:x:B:S:t:d: opt; do
+ while getopts :FVqvhI:x:B:S:t:d: opt; do
case "$opt" in
F) show_sigils=1;;
h) show_help ;;
@@ -242,6 +242,7 @@ handle_command_line() {
x) excludes="$excludes $OPTARG";;
S) symlink_dirs="$symlink_dirs $OPTARG";;
B) hostname="$OPTARG";;
+ ?) show_help 64 ;;
esac
done
shift $(($OPTIND-1))