diff options
author | Stephen Kitt <steve@sk2.org> | 2019-06-27 09:59:38 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-06-28 11:06:14 -0400 |
commit | 62ee81b5681daa781f5e800346ae8654b3e5a864 (patch) | |
tree | 1f2be89c85274925d1f99f0c2dbc0c43dfd6cd34 | |
parent | 9159ba14285c5432063a0ad83e50afb95674d9b1 (diff) |
docs: format kernel-parameters -- as code
The current ReStructuredText formatting results in "--", used to
indicate the end of the kernel command-line parameters, appearing as
an en-dash instead of two hyphens; this patch formats them as code,
"``--``", as done elsewhere in the documentation.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | Documentation/admin-guide/kernel-parameters.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst index 8d3273e32eb1..5d29ba5ad88c 100644 --- a/Documentation/admin-guide/kernel-parameters.rst +++ b/Documentation/admin-guide/kernel-parameters.rst | |||
@@ -9,11 +9,11 @@ and sorted into English Dictionary order (defined as ignoring all | |||
9 | punctuation and sorting digits before letters in a case insensitive | 9 | punctuation and sorting digits before letters in a case insensitive |
10 | manner), and with descriptions where known. | 10 | manner), and with descriptions where known. |
11 | 11 | ||
12 | The kernel parses parameters from the kernel command line up to "--"; | 12 | The kernel parses parameters from the kernel command line up to "``--``"; |
13 | if it doesn't recognize a parameter and it doesn't contain a '.', the | 13 | if it doesn't recognize a parameter and it doesn't contain a '.', the |
14 | parameter gets passed to init: parameters with '=' go into init's | 14 | parameter gets passed to init: parameters with '=' go into init's |
15 | environment, others are passed as command line arguments to init. | 15 | environment, others are passed as command line arguments to init. |
16 | Everything after "--" is passed as an argument to init. | 16 | Everything after "``--``" is passed as an argument to init. |
17 | 17 | ||
18 | Module parameters can be specified in two ways: via the kernel command | 18 | Module parameters can be specified in two ways: via the kernel command |
19 | line with a module name prefix, or via modprobe, e.g.:: | 19 | line with a module name prefix, or via modprobe, e.g.:: |