mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Add +[np]cmd option
This commit is contained in:
parent
6a285c816d
commit
0cfdce899b
1 changed files with 4 additions and 0 deletions
|
|
@ -747,6 +747,10 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
|
|||
show_details = ISC_TRUE;
|
||||
} else if (strncmp(rv[0], "+nodet", 6) == 0) {
|
||||
show_details = ISC_FALSE;
|
||||
} else if (strncmp(rv[0], "+cmd", 4) == 0) {
|
||||
printcmd = ISC_TRUE;
|
||||
} else if (strncmp(rv[0], "+nocmd", 6) == 0) {
|
||||
printcmd = ISC_FALSE;
|
||||
} else if (strncmp(rv[0], "+sho", 4) == 0) {
|
||||
short_form = ISC_TRUE;
|
||||
printcmd = ISC_FALSE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue