aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsdconfig
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2021-10-08 23:26:21 +0000
committerDevin Teske <dteske@FreeBSD.org>2021-10-08 23:26:21 +0000
commit1c64959bff1772da4c9cc7d86c56f3729189b88e (patch)
treef275f58fd6950f1349c15605adcef8af926d700b /usr.sbin/bsdconfig
parent15575aca875403e796d647ec5e42f7919197d130 (diff)
Diffstat (limited to 'usr.sbin/bsdconfig')
-rwxr-xr-xusr.sbin/bsdconfig/bsdconfig14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/bsdconfig/bsdconfig b/usr.sbin/bsdconfig/bsdconfig
index 2ecdb30bc5a9..f132c0370264 100755
--- a/usr.sbin/bsdconfig/bsdconfig
+++ b/usr.sbin/bsdconfig/bsdconfig
@@ -1,7 +1,7 @@
#!/bin/sh
#-
# Copyright (c) 2012 Ron McDowell
-# Copyright (c) 2012-2014 Devin Teske
+# Copyright (c) 2012-2021 Devin Teske
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -132,7 +132,7 @@ usage()
#
local x=$longest_cmd ncols=1
x=$(( $x + 8 )) # Accommodate leading tab character
- x=$(( $x + 3 + $longest_cmd )) # Preload end of next column
+ x=$(( $x + 3 + $longest_cmd )) # Pre-load end of next column
while [ $x -lt $max_width ]; do
ncols=$(( $ncols + 1 ))
x=$(( $x + 3 + $longest_cmd ))
@@ -176,7 +176,7 @@ usage()
"PROGRAM_NAME" "$pgm" \
"COMMAND_LIST" "$cmd_list"
- # Never reached
+ # NOTREACHED
}
# dialog_menu_main
@@ -365,7 +365,7 @@ if [ "$1" ]; then
#
case "$1" in -help|--help|-\?)
usage
- # Not reached
+ # NOTREACHED
esac
#
@@ -375,16 +375,16 @@ if [ "$1" ]; then
if ! { indexfile=$( f_index_file "$1" ) &&
cmd=$( f_index_menusel_command "$indexfile" "$1" )
}; then
- # no matches, display usage (which shows valid keywords)
+ # No matches, display usage (which shows valid keywords)
f_err "%s: %s: $msg_not_found\n" "$pgm" "$1"
usage
- # Not reached
+ # NOTREACHED
fi
f_dprintf "cmd=[%s] *=[%s]" "$cmd" "$*"
shift
exec $cmd ${USE_XDIALOG:+-X} "$@" || exit 1
- # Not reached
+ # NOTREACHED
fi
#