CODING_STYLE: Add a section of the naming convention

Several maintainers have expressed a stronger preference
to use '-' when in filename and option that contains multiple
words.

So document it in CODING_STYLE.

Signed-off-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
Julien Grall committed 2023-12-07 15:37:25 +00:00
1 parent 25147005da
commit d2b7c442b4
1 file changed
+9
+9
View File
@@ -144,6 +144,15 @@ separate lines and each line should begin with a leading '*'.
* Note beginning and end markers on separate lines and leading '*'.
*/
Naming convention for files and command line options
----------------------------------------------------
'-' should be used to separate words in commandline options and filenames.
E.g. timer-works.
Note that some of the options and filenames are using '_'. This is now
deprecated.
Emacs local variables
---------------------
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.