diff --git a/internal/args/init.go b/internal/args/init.go index c76b3f756..3c440cdc5 100644 --- a/internal/args/init.go +++ b/internal/args/init.go @@ -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) diff --git a/internal/args/tricehelpall_test.go b/internal/args/tricehelpall_test.go index 4114dd9fa..c8888ab7b 100644 --- a/internal/args/tricehelpall_test.go +++ b/internal/args/tricehelpall_test.go @@ -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)