Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit cda12b7

Browse files
committed
clearer
1 parent f744a2c commit cda12b7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cmd/mt-index-cat/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ func main() {
8484
fmt.Println(" the chances need to add up to 100")
8585
fmt.Println(" operation is one of:")
8686
fmt.Println(" pass (passthrough)")
87-
fmt.Println(" <number>rcnw (replace number random consecutive nodes with wildcards")
88-
fmt.Println(" <number>rccw (replace number random consecutive characters with wildcards")
87+
fmt.Println(" <number>rcnw (replace <number> random consecutive nodes with wildcards")
88+
fmt.Println(" <number>rccw (replace <number> random consecutive characters with wildcards")
8989
fmt.Println("age: subtracts the passed integer (typically .LastUpdate) from the query time")
9090
fmt.Println("roundDuration: formats an integer-seconds duration using aggressive rounding. for the purpose of getting an idea of overal metrics age")
9191
fmt.Println("EXAMPLES:")

cmd/mt-index-cat/out/tpl_pattern_custom.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ func patternCustom(in ...interface{}) string {
2121
fmt.Println("the chances need to add up to 100")
2222
fmt.Println("operation is one of:")
2323
fmt.Println(" pass (passthrough)")
24-
fmt.Println(" <number>rcnw (replace number random consecutive nodes with wildcards")
25-
fmt.Println(" <number>rccw (replace number random consecutive characters with wildcards")
24+
fmt.Println(" <number>rcnw (replace <number> random consecutive nodes with wildcards")
25+
fmt.Println(" <number>rccw (replace <number> random consecutive characters with wildcards")
2626
fmt.Println("example:")
2727
fmt.Println("{{.Name | patternCustom 15 \"pass\" 40 \"1rcnw\" 15 \"2rcnw\" 10 \"3rcnw\" 10 \"3rccw\" 10 \"2rccw\"}}\\n")
2828
os.Exit(-1)

docs/tools.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ patternCustom: transforms a graphite.style.metric.name into a pattern with wildc
145145
the chances need to add up to 100
146146
operation is one of:
147147
pass (passthrough)
148-
<number>rcnw (replace number random consecutive nodes with wildcards
149-
<number>rccw (replace number random consecutive characters with wildcards
148+
<number>rcnw (replace <number> random consecutive nodes with wildcards
149+
<number>rccw (replace <number> random consecutive characters with wildcards
150150
age: subtracts the passed integer (typically .LastUpdate) from the query time
151151
roundDuration: formats an integer-seconds duration using aggressive rounding. for the purpose of getting an idea of overal metrics age
152152
EXAMPLES:

0 commit comments

Comments
 (0)