You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/args/init.go
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -176,8 +176,8 @@ Example: "-pick err:wrn -pick default" results in suppressing all messages despi
176
176
fsScLog.StringVar(&decoder.PackageFraming, "packageFraming", "TCOBSv1", `Use "none" or "COBS" as alternative. "COBS" needs "#define TRICE_FRAMING TRICE_FRAMING_COBS" inside "triceConfig.h".`)
177
177
fsScLog.StringVar(&decoder.PackageFraming, "pf", "TCOBSv1", "Short for '-packageFraming'.")
178
178
fsScLog.BoolVar(&trexDecoder.AddNewlineToEachTriceMessage, "addNL", false, `Add a newline char at trice messages end to use for example "hi" instead of "hi\n" in source code.`)
179
-
fsScLog.BoolVar(&emitter.TagStatistics, "tagStat", false, `Print Trices occurances count on exit.`)
180
-
fsScLog.BoolVar(&decoder.TriceStatistics, "triceStat", false, `Print Trices occurances count on exit.`)
179
+
fsScLog.BoolVar(&emitter.TagStatistics, "tagStat", false, `Print Trices occurrences count on exit.`)
180
+
fsScLog.BoolVar(&decoder.TriceStatistics, "triceStat", false, `Print Trices occurrences count on exit.`)
181
181
fsScLog.BoolVar(&emitter.AllStatistics, "stat", false, `Print complete statistics on exit.`)
Copy file name to clipboardExpand all lines: internal/args/tricehelpall_test.go
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -266,7 +266,7 @@ sub-command 'l|log': For displaying trice logs coming from port. With "trice log
266
266
-suffix string
267
267
Append suffix to all lines, options: any string.
268
268
-tagStat
269
-
Print Trices occurances count on exit.
269
+
Print Trices occurrences count on exit.
270
270
-tcp string
271
271
TCP address for an external log receiver like Putty. Example: 1st: "trice log -p COM1 -tcp localhost:64000", 2nd "putty". In "Terminal" enable "Implicit CR in every LF", In "Session" Connection type:"Other:Telnet", specify "hostname:port" here like "localhost:64000".
272
272
-testTable
@@ -277,7 +277,7 @@ sub-command 'l|log': For displaying trice logs coming from port. With "trice log
277
277
-triceEndianness string
278
278
Target endianness trice data stream. Option: "bigEndian". (default "littleEndian")
279
279
-triceStat
280
-
Print Trices occurances count on exit.
280
+
Print Trices occurrences count on exit.
281
281
-ts string
282
282
Target timestamp general format string at start of each line, if target timestamps existent (configured). Choose between "µs" (or "us") and "ms", use "" or 'off' or 'none' to suppress existing target timestamps. Sets ts0, ts16, ts32 if these not passed. If several trices form a log line only the timestamp of first trice ist displayed. (default "µs")
283
283
-ts0 string
@@ -353,24 +353,28 @@ sub-command 'a|add': Use for adding library source files containing already tric
353
353
For example "trice log -p JLINK -v" is the same as "trice log -p JLINK" but with more descriptive output what could be helpful during setup.
354
354
This is a bool switch. It has no parameters. Its default value is false. If the switch is applied its value is true. You can also set it explicit: =false or =true.
355
355
sub-command 'g|gen|generate': Use for creating colors or support files.
356
-
-c Create a til.c file.
357
356
-colors
358
357
Write all possible colors.
359
-
-cs
360
-
Create a til.cs file.
361
-
-fpl
362
-
Write ID to function pointer list.
363
-
-h Create a til.h file.
364
358
-i string
365
359
Short for '-idlist'.
366
360
(default "til.json")
367
361
-idlist string
368
362
The trice ID list file.
369
363
The specified JSON file is needed to display the ID coded trices during runtime and should be under version control.
370
364
(default "til.json")
365
+
-rpcC
366
+
Create a til_rpc.c file.
367
+
-rpcH
368
+
Create a til_rpc.h file.
371
369
-til string
372
370
Short for '-idlist'.
373
371
(default "til.json")
372
+
-tilC
373
+
Create a til.c file.
374
+
-tilCS
375
+
Create a til.cs file.
376
+
-tilH
377
+
Create a til.h file.
374
378
-v short for verbose
375
379
-verbose
376
380
Gives more informal output if used. Can be helpful during setup.
0 commit comments