mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 12:50:00 -04:00
doc update, bug fixes
This commit is contained in:
parent
2afc443636
commit
803e1f0c55
2 changed files with 12 additions and 12 deletions
|
|
@ -708,7 +708,7 @@ usage() {
|
|||
|
||||
fprintf(stderr, "\n");
|
||||
|
||||
fprintf(stderr, "Options:\n");
|
||||
fprintf(stderr, "Options: (default value in parenthesis) \n");
|
||||
fprintf(stderr, "\t-s YYYYMMDDHHMMSS|+ttl:\n");
|
||||
fprintf(stderr, "\t\tSIG start time - absolute|offset (now)\n");
|
||||
fprintf(stderr, "\t-e YYYYMMDDHHMMSS|+ttl|now+ttl]:\n");
|
||||
|
|
@ -718,7 +718,7 @@ usage() {
|
|||
fprintf(stderr, "\t-v level:\n");
|
||||
fprintf(stderr, "\t\tverbose level (0)\n");
|
||||
fprintf(stderr, "\t-o origin:\n");
|
||||
fprintf(stderr, "\t\tzone origin (zonefile)\n");
|
||||
fprintf(stderr, "\t\tzone origin (name of zonefile)\n");
|
||||
fprintf(stderr, "\t-f outfile:\n");
|
||||
fprintf(stderr, "\t\tfile the signed zone is written in " \
|
||||
"(zonefile + .signed)\n");
|
||||
|
|
@ -774,14 +774,14 @@ main(int argc, char *argv[]) {
|
|||
case 'c':
|
||||
endp = NULL;
|
||||
cycle = strtol(optarg, &endp, 0);
|
||||
if (endp != NULL)
|
||||
if (*endp != '\0')
|
||||
check_result(ISC_R_FAILURE, "strtol()");
|
||||
break;
|
||||
|
||||
case 'v':
|
||||
endp = NULL;
|
||||
verbose = strtol(optarg, &endp, 0);
|
||||
if (endp != NULL)
|
||||
if (*endp != '\0')
|
||||
check_result(ISC_R_FAILURE, "strtol()");
|
||||
break;
|
||||
|
||||
|
|
@ -882,13 +882,13 @@ main(int argc, char *argv[]) {
|
|||
|
||||
endp = NULL;
|
||||
id = strtol(idstr, &endp, 0);
|
||||
if (endp != NULL)
|
||||
if (*endp != '\0')
|
||||
check_result(ISC_R_FAILURE, "strtol");
|
||||
|
||||
if (algstr != NULL) {
|
||||
endp = NULL;
|
||||
alg = strtol(idstr, &endp, 0);
|
||||
if (endp != NULL)
|
||||
if (*endp != '\0')
|
||||
check_result(ISC_R_FAILURE, "strtol");
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -708,7 +708,7 @@ usage() {
|
|||
|
||||
fprintf(stderr, "\n");
|
||||
|
||||
fprintf(stderr, "Options:\n");
|
||||
fprintf(stderr, "Options: (default value in parenthesis) \n");
|
||||
fprintf(stderr, "\t-s YYYYMMDDHHMMSS|+ttl:\n");
|
||||
fprintf(stderr, "\t\tSIG start time - absolute|offset (now)\n");
|
||||
fprintf(stderr, "\t-e YYYYMMDDHHMMSS|+ttl|now+ttl]:\n");
|
||||
|
|
@ -718,7 +718,7 @@ usage() {
|
|||
fprintf(stderr, "\t-v level:\n");
|
||||
fprintf(stderr, "\t\tverbose level (0)\n");
|
||||
fprintf(stderr, "\t-o origin:\n");
|
||||
fprintf(stderr, "\t\tzone origin (zonefile)\n");
|
||||
fprintf(stderr, "\t\tzone origin (name of zonefile)\n");
|
||||
fprintf(stderr, "\t-f outfile:\n");
|
||||
fprintf(stderr, "\t\tfile the signed zone is written in " \
|
||||
"(zonefile + .signed)\n");
|
||||
|
|
@ -774,14 +774,14 @@ main(int argc, char *argv[]) {
|
|||
case 'c':
|
||||
endp = NULL;
|
||||
cycle = strtol(optarg, &endp, 0);
|
||||
if (endp != NULL)
|
||||
if (*endp != '\0')
|
||||
check_result(ISC_R_FAILURE, "strtol()");
|
||||
break;
|
||||
|
||||
case 'v':
|
||||
endp = NULL;
|
||||
verbose = strtol(optarg, &endp, 0);
|
||||
if (endp != NULL)
|
||||
if (*endp != '\0')
|
||||
check_result(ISC_R_FAILURE, "strtol()");
|
||||
break;
|
||||
|
||||
|
|
@ -882,13 +882,13 @@ main(int argc, char *argv[]) {
|
|||
|
||||
endp = NULL;
|
||||
id = strtol(idstr, &endp, 0);
|
||||
if (endp != NULL)
|
||||
if (*endp != '\0')
|
||||
check_result(ISC_R_FAILURE, "strtol");
|
||||
|
||||
if (algstr != NULL) {
|
||||
endp = NULL;
|
||||
alg = strtol(idstr, &endp, 0);
|
||||
if (endp != NULL)
|
||||
if (*endp != '\0')
|
||||
check_result(ISC_R_FAILURE, "strtol");
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue