Show descriptions for type CTLTYPE_NODES.
This commit is contained in:
parent
9f98e452c3
commit
b2680e2048
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144998
@ -189,6 +189,11 @@ parse(char *string)
|
|||||||
|
|
||||||
if (newval == NULL) {
|
if (newval == NULL) {
|
||||||
if ((kind & CTLTYPE) == CTLTYPE_NODE) {
|
if ((kind & CTLTYPE) == CTLTYPE_NODE) {
|
||||||
|
if (dflag) {
|
||||||
|
i = show_var(mib, len);
|
||||||
|
if (!i && !bflag)
|
||||||
|
putchar('\n');
|
||||||
|
}
|
||||||
sysctl_all(mib, len);
|
sysctl_all(mib, len);
|
||||||
} else {
|
} else {
|
||||||
i = show_var(mib, len);
|
i = show_var(mib, len);
|
||||||
|
Loading…
Reference in New Issue
Block a user