pt-tls-client: Introduced --options as a synonym for --optionsfrom
This commit is contained in:
parent
94bdd463d8
commit
165d28174d
|
@ -20,7 +20,7 @@ pt-tls-client \- Simple client using PT-TLS to collect integrity information
|
||||||
.OP \-\-client client-id
|
.OP \-\-client client-id
|
||||||
.OP \-\-secret password
|
.OP \-\-secret password
|
||||||
.OP \-\-mutual
|
.OP \-\-mutual
|
||||||
.OP \-\-optionsfrom filename
|
.OP \-\-options filename
|
||||||
.OP \-\-quiet
|
.OP \-\-quiet
|
||||||
.OP \-\-debug level
|
.OP \-\-debug level
|
||||||
.YS
|
.YS
|
||||||
|
@ -92,7 +92,7 @@ Set debug level, default: 1.
|
||||||
.B "\-q, \-\-quiet
|
.B "\-q, \-\-quiet
|
||||||
Disable debug output to stderr.
|
Disable debug output to stderr.
|
||||||
.TP
|
.TP
|
||||||
.BI "\-+, \-\-optionsfrom " file
|
.BI "\-+, \-\-options " file
|
||||||
Read command line options from \fIfile\fR.
|
Read command line options from \fIfile\fR.
|
||||||
.
|
.
|
||||||
.SH "EXAMPLES"
|
.SH "EXAMPLES"
|
||||||
|
|
|
@ -45,7 +45,7 @@ static void usage(FILE *out)
|
||||||
" [--cert <file>]+ [--keyid <hex>|--key <file>]\n"
|
" [--cert <file>]+ [--keyid <hex>|--key <file>]\n"
|
||||||
" [--key-type rsa|ecdsa] [--client <client-id>]\n"
|
" [--key-type rsa|ecdsa] [--client <client-id>]\n"
|
||||||
" [--secret <password>] [--mutual] [--quiet]\n"
|
" [--secret <password>] [--mutual] [--quiet]\n"
|
||||||
" [--debug <level>] [--optionsfrom <filename>]\n");
|
" [--debug <level>] [--options <filename>]\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -289,6 +289,7 @@ int main(int argc, char *argv[])
|
||||||
{"mutual", no_argument, NULL, 'm' },
|
{"mutual", no_argument, NULL, 'm' },
|
||||||
{"quiet", no_argument, NULL, 'q' },
|
{"quiet", no_argument, NULL, 'q' },
|
||||||
{"debug", required_argument, NULL, 'd' },
|
{"debug", required_argument, NULL, 'd' },
|
||||||
|
{"options", required_argument, NULL, '+' },
|
||||||
{"optionsfrom", required_argument, NULL, '+' },
|
{"optionsfrom", required_argument, NULL, '+' },
|
||||||
{0,0,0,0 }
|
{0,0,0,0 }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue