Skip to content

Commit

Permalink
Merge branch 'po/error-message-style' into maint
Browse files Browse the repository at this point in the history
* po/error-message-style:
  doc: give some guidelines for error messages
  • Loading branch information
Junio C Hamano committed Jul 22, 2014
2 parents a1991f1 + 0ae0e88 commit 0d854fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/CodingGuidelines
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,15 @@ For Python scripts:
documentation for version 2.6 does not mention this prefix, it has
been supported since version 2.6.0.

Error Messages

- Do not end error messages with a full stop.

- Do not capitalize ("unable to open %s", not "Unable to open %s")

- Say what the error is first ("cannot open %s", not "%s: cannot open")


Writing Documentation:

Most (if not all) of the documentation pages are written in the
Expand Down

0 comments on commit 0d854fc

Please sign in to comment.