summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-06-15 13:38:21 +0000
committerdteske <dteske@FreeBSD.org>2013-06-15 13:38:21 +0000
commitb95c459e182fd072e6dac884c7eed86a220534e7 (patch)
tree68c5828629db97d254278f12464cacd2e9f442fb
parent9fa52da3e75f2390e0533024ab6de20cb610ec51 (diff)
downloadFreeBSD-src-b95c459e182fd072e6dac884c7eed86a220534e7.zip
FreeBSD-src-b95c459e182fd072e6dac884c7eed86a220534e7.tar.gz
Style/comments.
-rwxr-xr-xusr.sbin/bsdconfig/bsdconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/bsdconfig/bsdconfig b/usr.sbin/bsdconfig/bsdconfig
index 340beb8..d02afe1 100755
--- a/usr.sbin/bsdconfig/bsdconfig
+++ b/usr.sbin/bsdconfig/bsdconfig
@@ -290,8 +290,9 @@ if [ "$1" ]; then
#
# ...unless it's a long-option for usage.
#
- case "$1" in
- -help|--help|-\?) usage;;
+ case "$1" in -help|--help|-\?)
+ usage
+ # Not reached
esac
#
@@ -304,10 +305,12 @@ if [ "$1" ]; then
# no matches, display usage (which shows valid keywords)
f_err "%s: %s: $msg_not_found\n" "$pgm" "$1"
usage
+ # Not reached
fi
shift
exec $cmd ${USE_XDIALOG:+-X} "$@" || exit 1
+ # Not reached
fi
#
OpenPOWER on IntegriCloud