Skip to content

Commit

Permalink
docs: tweak --literal option description
Browse files Browse the repository at this point in the history
usage text is meant for non-developer audience; TMI, no need to mention escaping regex

[skip ci]
  • Loading branch information
jqnatividad committed Aug 20, 2024
1 parent e6a2ba1 commit b590da2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/cmd/replace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ replace options:
-i, --ignore-case Case insensitive search. This is equivalent to
prefixing the regex with '(?i)'.
--literal Treat the regex pattern as a literal string. This allows
you to search for exact matches that even contain special
regex characters without escaping them.
you to search for exact matches that even contain
regex special characters.
-s, --select <arg> Select the columns to search. See 'qsv select -h'
for the full syntax.
-u, --unicode Enable unicode support. When enabled, character classes
Expand Down
4 changes: 2 additions & 2 deletions src/cmd/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ search options:
-i, --ignore-case Case insensitive search. This is equivalent to
prefixing the regex with '(?i)'.
--literal Treat the regex as a literal string. This allows
you to search for exact matches that even contain special
regex characters without escaping them.
you to search for exact matches that even contain
regex special characters.
-s, --select <arg> Select the columns to search. See 'qsv select -h'
for the full syntax.
-v, --invert-match Select only rows that did not match
Expand Down
4 changes: 2 additions & 2 deletions src/cmd/searchset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ searchset options:
-i, --ignore-case Case insensitive search. This is equivalent to
prefixing the regex with '(?i)'.
--literal Treat the regex as a literal string. This allows
you to search for exact matches that even contain special
regex characters without escaping them.
you to search for exact matches that even contain
regex special characters.
-s, --select <arg> Select the columns to search. See 'qsv select -h'
for the full syntax.
-v, --invert-match Select only rows that did not match
Expand Down

0 comments on commit b590da2

Please sign in to comment.