diff options
author | Rich Salz <rsalz@akamai.com> | 2019-11-07 21:08:30 +0100 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-11-07 21:08:30 +0100 |
commit | 5388f9862d9aaf3c7cf7a70c1e36e7e983c26cfc (patch) | |
tree | bda368ec4d8855ac5d3e2a31648769a5dabfaac9 /apps/nseq.c | |
parent | Add a test for EVP_PKEY_keymake() and EVP_PKEY_make() (diff) | |
download | openssl-5388f9862d9aaf3c7cf7a70c1e36e7e983c26cfc.tar.xz openssl-5388f9862d9aaf3c7cf7a70c1e36e7e983c26cfc.zip |
Add "sections" to -help output
Remove "Valid options" label, since all commands have sections (and
[almost] always the first one is "General options").
Have "list --options" ignore section headers
Reformat ts's additional help
Add output section
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9953)
Diffstat (limited to 'apps/nseq.c')
-rw-r--r-- | apps/nseq.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/nseq.c b/apps/nseq.c index 6c883c0f70..5b7ab67dd1 100644 --- a/apps/nseq.c +++ b/apps/nseq.c @@ -20,9 +20,14 @@ typedef enum OPTION_choice { } OPTION_CHOICE; const OPTIONS nseq_options[] = { + OPT_SECTION("General"), {"help", OPT_HELP, '-', "Display this summary"}, - {"toseq", OPT_TOSEQ, '-', "Output NS Sequence file"}, + + OPT_SECTION("Input"), {"in", OPT_IN, '<', "Input file"}, + + OPT_SECTION("Output"), + {"toseq", OPT_TOSEQ, '-', "Output NS Sequence file"}, {"out", OPT_OUT, '>', "Output file"}, {NULL} }; |