X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=CODING_STYLE;h=ca3b5183f901037a1e6b201e13f231f86fa8b9db;hp=e22c1edb1273ab0892541cef0439156d360162c7;hb=e70bc43cdf75b36e7ad3d29e9a6f8ee1461e7d5e;hpb=8e5edf8d42d3c441e4b09aa1dbbaf2cb605c1328 diff --git a/CODING_STYLE b/CODING_STYLE index e22c1edb1..ca3b5183f 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -167,3 +167,8 @@ caching for any thread that is not the main thread. Use is_main_thread() to detect whether the calling thread is the main thread. + +- Option parsing: + - Do not print full help() on error, be specific about the error. + - Do not print messages to stdout on error. + - Do not POSIX_ME_HARDER unless necessary, i.e. avoid "+" in option string.