Skip to content

Commit c8b4e58

Browse files
committed
Fix #99 - help text on -fi and -fe options wrong
As @cweigel correctly points out, the pipe ('|') symbol was wrongly used in the help text examples #99
1 parent c9b4120 commit c8b4e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bfg/src/main/scala/com/madgag/git/bfg/cli/CLIConfig.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ object CLIConfig {
7979
"string other than the default of '***REMOVED***'.").action {
8080
(v, c) => c.copy(textReplacementExpressions = v.lines().filterNot(_.trim.isEmpty).toSeq)
8181
}
82-
fileMatcher("filter-content-including").abbr("fi").text("do file-content filtering on files that match the specified expression (eg '*.{txt|properties}')").action {
82+
fileMatcher("filter-content-including").abbr("fi").text("do file-content filtering on files that match the specified expression (eg '*.{txt,properties}')").action {
8383
(v, c) => c.copy(filenameFilters = c.filenameFilters :+ Include(v))
8484
}
85-
fileMatcher("filter-content-excluding").abbr("fe").text("don't do file-content filtering on files that match the specified expression (eg '*.{xml|pdf}')").action {
85+
fileMatcher("filter-content-excluding").abbr("fe").text("don't do file-content filtering on files that match the specified expression (eg '*.{xml,pdf}')").action {
8686
(v, c) => c.copy(filenameFilters = c.filenameFilters :+ Exclude(v))
8787
}
8888
opt[String]("filter-content-size-threshold").abbr("fs").valueName("<size>").text("only do file-content filtering on files smaller than <size> (default is %1$d bytes)".format(CLIConfig().filterSizeThreshold)).action {

0 commit comments

Comments
 (0)