]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
CODING_STYLE: document suggested suffixes to use in documentation 8643/head
authorLennart Poettering <lennart@poettering.net>
Thu, 29 Mar 2018 14:28:21 +0000 (16:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 3 Apr 2018 13:22:26 +0000 (15:22 +0200)
doc/CODING_STYLE

index 7025d242fa4c905e0041b7998109c51b8f907f02..be303591605647cd6f115a4c35e85cb205814253 100644 (file)
   O_NONBLOCK has a benefit: it bypasses any mandatory lock that might be in
   effect on the regular file. If in doubt consider turning off O_NONBLOCK again
   after opening.
+
+- When referring to a configuration file option in the documentation and such,
+  please always suffix it with "=", to indicate that it is a configuration file
+  setting.
+
+- When referring to a command line option in the documentation and such, please
+  allways prefix with "--" or "-" (as appropriate), to indicate that it is a
+  command line option.
+
+- When referring to a file system path that is a directory, please always
+  suffix it with "/", to indicate that it is a directory, not a regular file
+  (or other file system object).