summaryrefslogtreecommitdiff
path: root/util/find-doc-nits
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-05-16 12:12:32 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-05-20 16:24:43 +0200
commit5be56c490e4f34b4f592a692109563ea991ac6c7 (patch)
tree419f84fc28b08439b2b42c85eb3fd2ecc5eb8188 /util/find-doc-nits
parentee56cec7332ca2c77ee425c544304ce25475db1c (diff)
downloadopenssl-new-5be56c490e4f34b4f592a692109563ea991ac6c7.tar.gz
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/find-doc-nits')
-rwxr-xr-xutil/find-doc-nits5
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.