chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemctl: fail in the case that no unit files were found
[elogind.git]
/
CODING_STYLE
diff --git
a/CODING_STYLE
b/CODING_STYLE
index e22c1edb1273ab0892541cef0439156d360162c7..ca3b5183f901037a1e6b201e13f231f86fa8b9db 100644
(file)
--- 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.
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.