[PATCH] doc: add --show-names for git config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Option "--show-names" was introduced along with the "get" subcommand
of git-config(1) [1]. It was used in Deprecated Modes doc examples,
normal and completion tests, but not documented.

It's known by both "get" and "list", though has no effect on "list".

Signed-off-by: Yukai Chou <muzimuzhi@xxxxxxxxx>
---
 Documentation/git-config.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 65c645d461..525c29fcff 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -268,6 +268,10 @@ Valid `<type>`'s include:
  all queried config options with the scope of that value
  (worktree, local, global, system, command).

+--show-names::
+ Output also the names of config variables for `list` or
+ `get`.
+
 --get-colorbool <name> [<stdout-is-tty>]::

  Find the color setting for `<name>` (e.g. `color.diff`) and output
-- 
2.46.0




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux