diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-05-16 12:12:32 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-05-20 16:24:43 +0200 |
commit | 5be56c490e4f34b4f592a692109563ea991ac6c7 (patch) | |
tree | 419f84fc28b08439b2b42c85eb3fd2ecc5eb8188 /util | |
parent | ee56cec7332ca2c77ee425c544304ce25475db1c (diff) |
find-doc-nits: Minor improvements of help and diagnostic output
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15299)
Diffstat (limited to 'util')
-rwxr-xr-x | util/find-doc-nits | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits index 815880ad01..7c7349f992 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -45,7 +45,7 @@ our($opt_c); sub help { print <<EOF; Find small errors (nits) in documentation. Options: - -c List undocumented commands and options + -c List undocumented commands, undocumented options and unimplemented options. -d Detailed list of undocumented (implies -u) -e Detailed list of new undocumented (implies -v) -h Print this help message @@ -1085,8 +1085,7 @@ sub checkflags { # See what's in the command not the manpage. my @undocced = sort grep { !defined $docopts{$_} } @cmdopts; foreach ( @undocced ) { - next if $cmd eq "openssl" && $_ eq "help"; - err("$doc: undocumented option -$_"); + err("$doc: undocumented $cmd option -$_"); } # See what's in the command not the manpage. |