user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 5/5] lei: add help output for --invert match
  2021-05-04  4:45  5% [PATCH 0/5] Minor ls-mail-sync fixes Kyle Meyer
@ 2021-05-04  4:45  7% ` Kyle Meyer
  0 siblings, 0 replies; 2+ results
From: Kyle Meyer @ 2021-05-04  4:45 UTC (permalink / raw)
  To: meta

ls-external and ls-mail-sync accept an --invert-match option.  Show it
in the --help output.
---
 lib/PublicInbox/LEI.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 7be68121..c5fdfeb8 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -270,6 +270,7 @@ my %OPTDESC = (
 'incremental!	import' => 'import already seen IMAP and NNTP articles',
 'globoff|g' => "do not match locations using '*?' wildcards ".
 		"and\xa0'[]'\x{a0}ranges",
+'invert-match|v' => 'select non-matching lines',
 'color!' => 'disable color (for --format=text)',
 'verbose|v+' => 'be more verbose',
 'external!' => 'do not use externals',
-- 
2.31.1


^ permalink raw reply related	[relevance 7%]

* [PATCH 0/5] Minor ls-mail-sync fixes
@ 2021-05-04  4:45  5% Kyle Meyer
  2021-05-04  4:45  7% ` [PATCH 5/5] lei: add help output for --invert match Kyle Meyer
  0 siblings, 1 reply; 2+ results
From: Kyle Meyer @ 2021-05-04  4:45 UTC (permalink / raw)
  To: meta

In the process of trying to catch up with lei changes (so that I can
send the manpage update that I still haven't finished), I noticed that
`lei ls-mail-sync' didn't accept a filter despite looking as though it
was supposed to.  That's fixed in the third patch, with the other
patches addressing a few more things I spotted along the way.

  [1/5] lei ls-mail-sync: update reference to ls-sync
  [2/5] lei ls-mail-sync: drop repeated -z/0 option
  [3/5] lei ls-mail-sync: accept a filter
  [4/5] lei ls-mail-sync: fix handling of non-wildcard filters
  [5/5] lei: add help output for --invert match

 lib/PublicInbox/LEI.pm           | 5 +++--
 lib/PublicInbox/LeiLsMailSync.pm | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)


base-commit: 0b15dfc58ceaecdcb1c9285c3ad55813006c8338
-- 
2.31.1


^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-05-04  4:45  5% [PATCH 0/5] Minor ls-mail-sync fixes Kyle Meyer
2021-05-04  4:45  7% ` [PATCH 5/5] lei: add help output for --invert match Kyle Meyer

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