diff options
author | dteske <dteske@FreeBSD.org> | 2013-11-20 22:11:42 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-11-20 22:11:42 +0000 |
commit | c1a5bcc9fdcb50addae78ec4e1ad63afd355b1bb (patch) | |
tree | b22fd676ad80e7b6d440bbef1bbd8b6dfe096b20 /usr.sbin/bsdconfig | |
parent | 7383d16d60fa50ec2b9c94b5fd6d7662953de75b (diff) | |
download | FreeBSD-src-c1a5bcc9fdcb50addae78ec4e1ad63afd355b1bb.zip FreeBSD-src-c1a5bcc9fdcb50addae78ec4e1ad63afd355b1bb.tar.gz |
Make `-d' implicitly enable `-f' for simplification.
Diffstat (limited to 'usr.sbin/bsdconfig')
-rw-r--r-- | usr.sbin/bsdconfig/includes/USAGE | 4 | ||||
-rwxr-xr-x | usr.sbin/bsdconfig/includes/includes | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bsdconfig/includes/USAGE b/usr.sbin/bsdconfig/includes/USAGE index aaee35a..4af1b73 100644 --- a/usr.sbin/bsdconfig/includes/USAGE +++ b/usr.sbin/bsdconfig/includes/USAGE @@ -28,7 +28,7 @@ Usage: bsdconfig @PROGRAM_NAME@ [OPTIONS] [include ...] OPTIONS: -a Always use color even when output is not to a terminal. - -d Print the description for each function selected. + -d Print description for each function selected. Implies `-f'. -f Show functions for selected includes. -F pattern If `-f', only print functions matching pattern. Without `-f' @@ -68,4 +68,4 @@ EXAMPLES: Show descriptions of each of the `show' functions: - bsdconfig @PROGRAM_NAME@ -dfF show + bsdconfig @PROGRAM_NAME@ -dF show diff --git a/usr.sbin/bsdconfig/includes/includes b/usr.sbin/bsdconfig/includes/includes index 2e7bc08..338a4f5 100755 --- a/usr.sbin/bsdconfig/includes/includes +++ b/usr.sbin/bsdconfig/includes/includes @@ -127,7 +127,7 @@ show_include() while getopts adfF:hn flag; do case "$flag" in a) USE_COLOR=1 ;; - d) SHOW_DESC=1 ;; + d) SHOW_DESC=1 SHOW_FUNCS=1 ;; f) SHOW_FUNCS=1 ;; F) FUNC_PATTERN="$OPTARG" ;; n) USE_COLOR= ;; |