mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make -d' implicitly enable -f' for simplification.
This commit is contained in:
parent
e0ce310797
commit
630c6be951
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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= ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue