From 4b5371913ed9bb4bfd8a55a30458932799296ab9 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 18 Feb 2020 11:52:12 -0500 Subject: DOCS: Use "command" not "tool" or "utility" Reviewed-by: Paul Yang Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/11123) --- util/find-doc-nits | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util/find-doc-nits') diff --git a/util/find-doc-nits b/util/find-doc-nits index f02edab..c508e24 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -601,6 +601,13 @@ sub wording { } err($id, "found 'epoch' should use 'Epoch'") if $contents =~ /\bepoch\b/; + if ( $id =~ m@man1/@ ) { + err($id, "found 'tool' in NAME, should use 'command'") + if $contents =~ /=head1 NAME.*\btool\b.*=head1 SYNOPSIS/s; + err($id, "found 'utility' in NAME, should use 'command'") + if $contents =~ /NAME.*\butility\b.*=head1 SYNOPSIS/s; + + } } # Perform all sorts of nit/error checks on a manpage -- cgit v1.1