unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 1/2] doc: -cindex: correct and unify -g GIT_DIR usage string and man page
@ 2023-11-29 12:02 Štěpán Němec
  2023-11-29 12:02 ` [PATCH 2/2] doc: fix a few typos and wording issues Štěpán Němec
  0 siblings, 1 reply; 3+ messages in thread
From: Štěpán Němec @ 2023-11-29 12:02 UTC (permalink / raw)
  To: meta

Fixes: c76a20d75200 ("cindex: require `-g GIT_DIR' or `-r PROJECT_ROOT'")
---
 Documentation/public-inbox-cindex.pod | 2 +-
 script/public-inbox-cindex            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/public-inbox-cindex.pod b/Documentation/public-inbox-cindex.pod
index 0c9c4bdbff03..02c2d80f7ae5 100644
--- a/Documentation/public-inbox-cindex.pod
+++ b/Documentation/public-inbox-cindex.pod
@@ -4,7 +4,7 @@ public-inbox-cindex - create and update search for code repositories
 
 =head1 SYNOPSIS
 
-public-inbox-cindex [OPTIONS] -g GIT_DIR [-g GIT_DIR]
+public-inbox-cindex [OPTIONS] -g GIT_DIR [-g GIT_DIR]...
 
 public-inbox-cindex [OPTIONS] --update
 
diff --git a/script/public-inbox-cindex b/script/public-inbox-cindex
index a015d7a4f067..d61d0244833f 100755
--- a/script/public-inbox-cindex
+++ b/script/public-inbox-cindex
@@ -4,7 +4,7 @@
 use v5.12;
 use Getopt::Long qw(:config gnu_getopt no_ignore_case auto_abbrev);
 my $help = <<EOF; # the following should fit w/o scrolling in 80x24 term:
-usage: public-inbox-cindex [options] -g GIT_DIR...
+usage: public-inbox-cindex [options] -g GIT_DIR [-g GIT_DIR]...
 usage: public-inbox-cindex [options] --project-list=FILE -r PROJECT_ROOT
 
   Create and update search indices for code repos

base-commit: 59e3e12f23994538383f54f44e92e8a0d63070b2
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] doc: fix a few typos and wording issues
  2023-11-29 12:02 [PATCH 1/2] doc: -cindex: correct and unify -g GIT_DIR usage string and man page Štěpán Němec
@ 2023-11-29 12:02 ` Štěpán Němec
  2023-11-29 21:58   ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Štěpán Němec @ 2023-11-29 12:02 UTC (permalink / raw)
  To: meta

---
 Documentation/RelNotes/v2.0.0.wip     | 2 +-
 Documentation/lei-daemon-kill.pod     | 2 +-
 Documentation/public-inbox-cindex.pod | 4 ++--
 script/public-inbox-cindex            | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/RelNotes/v2.0.0.wip b/Documentation/RelNotes/v2.0.0.wip
index 5fc9ecd79759..d40378009af4 100644
--- a/Documentation/RelNotes/v2.0.0.wip
+++ b/Documentation/RelNotes/v2.0.0.wip
@@ -24,7 +24,7 @@
   -extindex.  Uppercase names will now be lowercased by default and
   warnings will be emitted.  Conflicting newsgroup names (and `inboxdir'
   entries if `newsgroup' isn't specified) will also generate warnings
-  since it breaks -extindex and the new -cindex (coderepo index)
+  since they break -extindex and the new -cindex (coderepo index).
 
 treewide
 
diff --git a/Documentation/lei-daemon-kill.pod b/Documentation/lei-daemon-kill.pod
index 97a81e23f973..50f75f4c74e4 100644
--- a/Documentation/lei-daemon-kill.pod
+++ b/Documentation/lei-daemon-kill.pod
@@ -26,7 +26,7 @@ so another L<lei-daemon(8)> process can take its place.
 =item SIGKILL
 
 Kills L<lei-daemon(8)> immediately.  Some worker processes may
-remain running after a short while after this takes effect.
+remain running for a short while.
 
 =back
 
diff --git a/Documentation/public-inbox-cindex.pod b/Documentation/public-inbox-cindex.pod
index 02c2d80f7ae5..fdc2b82d5d12 100644
--- a/Documentation/public-inbox-cindex.pod
+++ b/Documentation/public-inbox-cindex.pod
@@ -1,6 +1,6 @@
 =head1 NAME
 
-public-inbox-cindex - create and update search for code repositories
+public-inbox-cindex - create and update code repository search indices
 
 =head1 SYNOPSIS
 
@@ -106,7 +106,7 @@ Used to override the default "~/.public-inbox/config" value.
 =item XAPIAN_FLUSH_THRESHOLD
 
 The number of documents to update before committing changes to
-disk.  This environment is handled directly by Xapian, refer to
+disk.  This variable is handled directly by Xapian, refer to
 Xapian API documentation for more details.
 
 Use C<publicinbox.indexBatchSize> instead.
diff --git a/script/public-inbox-cindex b/script/public-inbox-cindex
index d61d0244833f..dd00623a1cf5 100755
--- a/script/public-inbox-cindex
+++ b/script/public-inbox-cindex
@@ -61,7 +61,7 @@ Or use --project-list=... and --project-root=...
 EOM
 } elsif (defined(my $pl = $opt->{'project-list'})) {
 	my $pfx = $opt->{'project-root'} // die <<EOM;
-PROJECTS_ROOT required for --project-list
+PROJECT_ROOT required for --project-list
 EOM
 	$opt->{'git-dir'} and die <<EOM;
 --project-list does not accept additional --git-dir directories
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] doc: fix a few typos and wording issues
  2023-11-29 12:02 ` [PATCH 2/2] doc: fix a few typos and wording issues Štěpán Němec
@ 2023-11-29 21:58   ` Eric Wong
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Wong @ 2023-11-29 21:58 UTC (permalink / raw)
  To: Štěpán Němec; +Cc: meta

Thanks, both patches in this series pushed

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-29 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-29 12:02 [PATCH 1/2] doc: -cindex: correct and unify -g GIT_DIR usage string and man page Štěpán Němec
2023-11-29 12:02 ` [PATCH 2/2] doc: fix a few typos and wording issues Štěpán Němec
2023-11-29 21:58   ` Eric Wong

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).