Skip to content

Commit ca74058

Browse files
committed
Update help box
1 parent 29a3a03 commit ca74058

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ Usage:
3030
go-replace
3131
3232
Application Options:
33-
-m, --mode=[replace|line|lineinfile|template] replacement mode - replace: replace match with term; line: replace line with term;
34-
lineinfile: replace line with term or if not found append to term to file; template: parse
35-
content as golang template, search value have to start uppercase (default: replace)
33+
--threads= Set thread concurrency for replacing in multiple files at same time (default: 10)
34+
-m, --mode=[replace|line|lineinfile|template] replacement mode - replace: replace match with term; line: replace line with term; lineinfile: replace line with term or
35+
if not found append to term to file; template: parse content as golang template, search value have to start uppercase
36+
(default: replace)
3637
-s, --search= search term
3738
-r, --replace= replacement term
3839
--lineinfile-before= add line before this regex
@@ -41,8 +42,7 @@ Application Options:
4142
--stdin process stdin as input
4243
-o, --output= write changes to this file (in one file mode)
4344
--output-strip-ext= strip file extension from written files (also available in multi file mode)
44-
--once=[keep|unique] replace search term only one in a file, keep duplicaes (keep, default) or remove them
45-
(unique)
45+
--once=[keep|unique] replace search term only one in a file, keep duplicaes (keep, default) or remove them (unique)
4646
--regex treat pattern as regex
4747
--regex-backrefs enable backreferences in replace term
4848
--regex-posix parse regex term as POSIX regex

0 commit comments

Comments
 (0)