diff options
| author | Tom Rini <[email protected]> | 2026-07-21 13:52:00 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-21 13:52:00 -0600 |
| commit | 72d780b5ccc0644f935eb48fdffb92b1177c4fb3 (patch) | |
| tree | 91cd97e0baf5c6897d020b78193991a94c445cd3 /doc | |
| parent | 85667122fb5fa215315a633335efc27ecd195b21 (diff) | |
| parent | d408eb2bc5a4675e11d7b77943553386d039bafc (diff) | |
Merge patch series "some string cleanup, and a tweak of the "config" command"
Rasmus Villemoes <[email protected]> says:
This started by me wanting something like what patch 8 does. That
wasn't too hard, except we had no strcasestr(), and also our regex
engine (which I didn't really want to pull into the mix anyway)
doesn't have a flag that requests case-insensitive matching. So I
wanted to add strcasestr(), but then I stumbled on a bunch of stuff
that should be cleaned up in str-land.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/usage/cmd/config.rst | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/usage/cmd/config.rst b/doc/usage/cmd/config.rst new file mode 100644 index 00000000000..bd8aa65ddbc --- /dev/null +++ b/doc/usage/cmd/config.rst @@ -0,0 +1,40 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. index:: + single: config (command) + +config command +============== + +Synopsis +-------- + +:: + + config [<str>] + +Description +----------- + +The config command prints the `.config` file used when building U-Boot +to the console. Note that the `.config` file is usually several 1000 +lines long. + +If the optional argument is given, only lines containing that string +(case insensitively) are printed. That can be useful if one wants to +check whether a specific option is enabled, or just to limit the +output to the subsystem of interest. + +The `.config` file is stored inside the U-Boot binary in +gzip-compressed format. + +Examples +-------- + +.. code-block:: bash + + # Print the entire .config + config + + # Print all lines related to pinctrl + config pinctrl |
