Skip to content

Commit a4d8286

Browse files
committed
fix docs
1 parent 62e2d64 commit a4d8286

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

Changes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
History file for ack 3. https://beyondgrep.com/
22

3+
NEXT
4+
========================================
5+
The --not option can be used with either --and or --not.
6+
7+
The -g option can now use any of the boolean options, --and, --or or --not.
8+
9+
310
v3.8.2 Sun Apr 6 10:45:04 CDT 2025
411
========================================
512
ack now needs YAML::PP to run its tests. Many of ack's tests are stored in

ack

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,8 +1325,7 @@ Note that the options that affect "dogs" also affect "cats", so if you have
13251325
then the search for both "dogs" and "cats" will be case-insensitive and be
13261326
word-limited.
13271327
1328-
See also the boolean options C<--or>, which cannot be used with C<--and>,
1329-
and C<--not>, which can.
1328+
C<--and> cannot be used with C<--or>.
13301329
13311330
=item B<-A I<NUM>>, B<--after-context=I<NUM>>
13321331
@@ -1585,9 +1584,6 @@ if you have
15851584
then the search for both "dogs" and "cats" will be case-insensitive and be
15861585
word-limited.
15871586
1588-
See also the booleans option C<--or>, which cannot be used with C<--not>,
1589-
and C<--and>, which can.
1590-
15911587
=item B<-o>
15921588
15931589
Show only the part of each line matching PATTERN (turns off text
@@ -1609,8 +1605,7 @@ Note that the options that affect "dogs" also affect "cats", so if you have
16091605
then the search for both "dogs" and "cats" will be case-insensitive and be
16101606
word-limited.
16111607
1612-
See also the other two boolean options C<--and> and C<--not>, neither of
1613-
which can be used with C<--or>.
1608+
C<--or> cannot be used with C<--and>.
16141609
16151610
=item B<--output=I<expr>>
16161611

0 commit comments

Comments
 (0)