bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: capitalization of error messages and option descriptions


From: Simon Josefsson
Subject: Re: capitalization of error messages and option descriptions
Date: Thu, 27 Jan 2011 17:41:07 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Bruno Haible <address@hidden> writes:

>> # Error messages should not start with a capital letter
>
> Why should error messages not start with a capital letter?

I don't know.  I prefer if they are normal human language sentences
which typically start with a capital and ends with a dot.  However in
some situations (e.g., shared library and a foo_strerror function) it
can be better to use single-sentence, no dot and start with a lower case
letter for error messages like this:

error (0, 0, "Library failure: %s", gsasl_strerror (rc));

Getting this right in all situations is difficult though.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]