Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 12d01b8

Browse files
Raise threads to 20 by default
1 parent 44f6382 commit 12d01b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type fileitem struct {
3838
}
3939

4040
var opts struct {
41-
ThreadCount int ` long:"threads" description:"Set thread concurrency for replacing in multiple files at same time" default:"10"`
41+
ThreadCount int ` long:"threads" description:"Set thread concurrency for replacing in multiple files at same time" default:"20"`
4242
Mode string `short:"m" long:"mode" description:"replacement mode - replace: replace match with term; line: replace line with term; lineinfile: replace line with term or if not found append to term to file; template: parse content as golang template, search value have to start uppercase" default:"replace" choice:"replace" choice:"line" choice:"lineinfile" choice:"template"`
4343
ModeIsReplaceMatch bool
4444
ModeIsReplaceLine bool

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /