Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
rokath committed Oct 14, 2024
1 parent 566d436 commit 6456f63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/args/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Without the "-dry-run" switch it would create|extend a list file til.json in the
}

func flagTriceIDRange(p *flag.FlagSet) {
p.Var(&id.IDRange, "IDRange", `This allows channel specific routing in the target code.
p.Var(&id.IDRange, "IDRange", `This allows tag specific routing in the target code.
This switch has one parameter string and is a multi-flag switch. It can be used for each Trice tag. Example:
Assign error tag Trice IDs in the range 10-99 and msg tag IDs in the range 100-199:
"trice `+p.Name()+` -IDRange err:10,99 -IDRange msg:100,999" (overlapping ID ranges are forbidden)
Expand Down
2 changes: 1 addition & 1 deletion internal/args/tricehelpall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ sub-command 'i|insert': For updating til.json and inserting IDs into source file
-IDMin value
Lower end of ID range for normal trices. (default 1000)
-IDRange value
This allows channel specific routing in the target code.
This allows tag specific routing in the target code.
This switch has one parameter string and is a multi-flag switch. It can be used for each Trice tag. Example:
Assign error tag Trice IDs in the range 10-99 and msg tag IDs in the range 100-199:
"trice insert -IDRange err:10,99 -IDRange msg:100,999" (overlapping ID ranges are forbidden)
Expand Down

0 comments on commit 6456f63

Please sign in to comment.