aboutsummaryrefslogtreecommitdiffstats
path: root/doc/make-authors-short.pl
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-07-20 14:53:52 -0700
committerGuy Harris <guy@alum.mit.edu>2017-07-20 21:54:25 +0000
commitfe8508b8b359689c927bb062ee37f79c52930b19 (patch)
treea643b836e68dd72604e7d42f778b63ab2f827238 /doc/make-authors-short.pl
parent27c6b12626d6e7b8e4d7a11784c2c5e2bfb87fde (diff)
More precise error message.
"Missing newline after '}'" suggests either that the "}" is the line character in the file or that it's followed by a character other than a newline. What it actually appears to mean is "you didn't put a blank line between one author entry and the next author entry". Change-Id: Ic0e4dd02f04680ab84fbfcf1183c911d049ee2d2 Reviewed-on: https://code.wireshark.org/review/22746 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'doc/make-authors-short.pl')
-rwxr-xr-xdoc/make-authors-short.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/make-authors-short.pl b/doc/make-authors-short.pl
index 14fdd503ac..df0a335ccf 100755
--- a/doc/make-authors-short.pl
+++ b/doc/make-authors-short.pl
@@ -39,7 +39,7 @@ while (<>) {
} elsif (/\}/) {
$subinfo = 0;
if (($nextline = <>) !~ /^[\s]*$/) {
- print STDERR "Missing newline after '}', found: $nextline"
+ print STDERR "No blank line after '}', found: $nextline"
if $nextline =~ m/\{/;
print $nextline;
}