svn commit: r251793 - head/usr.sbin/bsdconfig

Devin Teske dteske at FreeBSD.org
Sat Jun 15 13:38:22 UTC 2013


Author: dteske
Date: Sat Jun 15 13:38:21 2013
New Revision: 251793
URL: http://svnweb.freebsd.org/changeset/base/251793

Log:
  Style/comments.

Modified:
  head/usr.sbin/bsdconfig/bsdconfig

Modified: head/usr.sbin/bsdconfig/bsdconfig
==============================================================================
--- head/usr.sbin/bsdconfig/bsdconfig	Sat Jun 15 12:46:38 2013	(r251792)
+++ head/usr.sbin/bsdconfig/bsdconfig	Sat Jun 15 13:38:21 2013	(r251793)
@@ -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
 
 #


More information about the svn-src-head mailing list