* [PATCH 5/6] doc: lei config: update with --edit and --list examples
2023-03-09 19:28 6% [PATCH 0/6] various doc updates Eric Wong
@ 2023-03-09 19:28 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-03-09 19:28 UTC (permalink / raw)
To: meta
I typically use --edit/-e to make changes and --list/-l with
git; and same with lei.
---
Documentation/lei-config.pod | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/Documentation/lei-config.pod b/Documentation/lei-config.pod
index 663404fe..23a60c8a 100644
--- a/Documentation/lei-config.pod
+++ b/Documentation/lei-config.pod
@@ -4,7 +4,11 @@ lei-config - git-config wrapper for lei configuration file
=head1 SYNOPSIS
-lei config [OPTIONS]
+lei config <name> [[<value>] [<value-pattern>]]
+
+lei config -l | --list
+
+lei config -e | --edit
=head1 DESCRIPTION
@@ -97,6 +101,27 @@ C<frag>, C<func>, and C<context>.
=back
+=head1 OPTIONS
+
+Most L<git-config(1)> command-line switches are accepted by C<lei config>
+as-is. The most-frequently-used options are expected to be:
+
+=over 4
+
+=item -e
+
+=item --edit
+
+Opens an editor to edit the lei config file
+
+=item -l
+
+=item --list
+
+List all variables set in config file, along with their values.
+
+=back
+
=head1 CONTACT
Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
@@ -106,6 +131,6 @@ L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
=head1 COPYRIGHT
-Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
+Copyright all contributors L<mailto:meta@public-inbox.org>
License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
^ permalink raw reply related [relevance 7%]
* [PATCH 0/6] various doc updates
@ 2023-03-09 19:28 6% Eric Wong
2023-03-09 19:28 7% ` [PATCH 5/6] doc: lei config: update with --edit and --list examples Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2023-03-09 19:28 UTC (permalink / raw)
To: meta
Something to distract me while waiting on codesearch indexing
slowness...
Eric Wong (6):
doc: technical/memory: add note about mwrap-perl
doc: technical/ds: update blurb to note more daemons
doc: technical: document weird stuff in our codebase
doc: lei import: add hints about nntp.* and imap.* config options
doc: lei config: update with --edit and --list examples
doc: 2.0.0 release notes update
Documentation/RelNotes/v2.0.0.wip | 28 +++++++++++++++++++++---
Documentation/lei-config.pod | 29 +++++++++++++++++++++++--
Documentation/lei-import.pod | 7 +++++-
Documentation/technical/ds.txt | 13 +++++++----
Documentation/technical/memory.txt | 6 +++++
Documentation/technical/weird-stuff.txt | 22 +++++++++++++++++++
MANIFEST | 1 +
7 files changed, 96 insertions(+), 10 deletions(-)
create mode 100644 Documentation/technical/weird-stuff.txt
^ permalink raw reply [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-03-09 19:28 6% [PATCH 0/6] various doc updates Eric Wong
2023-03-09 19:28 7% ` [PATCH 5/6] doc: lei config: update with --edit and --list examples Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).