summaryrefslogtreecommitdiff
path: root/doc/dlt_example_user.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dlt_example_user.md')
-rw-r--r--doc/dlt_example_user.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/dlt_example_user.md b/doc/dlt_example_user.md
index d2f9af6..0aa9d0e 100644
--- a/doc/dlt_example_user.md
+++ b/doc/dlt_example_user.md
@@ -6,7 +6,7 @@
# SYNOPSIS
-**dlt-example-user** \[**-h**\] \[**-g**\] \[**-a**\] \[**-k**\] \[**-d** delay\] \[**-f** filename\] \[**-n** count\] \[**-m** mode\] \[**-l** level\] \[**-A** appID\] \[**-C** contextID\] \[**-t** timeout\] \[**-s** size\] message
+**dlt-example-user** \[**-h**\] \[**-g**\] \[**-a**\] \[**-k**\] \[**-d** delay\] \[**-f** filename\] \[**-S** filesize\] \[**-n** count\] \[**-m** mode\] \[**-l** level\] \[**-A** appID\] \[**-C** contextID\] \[**-t** timeout\] \[**-s** size\] message
# DESCRIPTION
@@ -38,6 +38,10 @@ Sends the given message as DLT messages to DLT daemon or prints the raw DLT mess
: Use local log file instead of sending to daemon.
+-S
+
+: Set maximum size of local log file (Default: UINT\_MAX).
+
-n
: Number of messages to be generated (Default: 10).
@@ -81,6 +85,10 @@ Send 100 DLT messages every second::
dlt-example-user -n 100 -d 1000 HelloWorld
+Send "HelloWorld" can log to local file with maximum size 1000 bytes::
+
+ dlt-example-user -f helloworld.dlt -S 1000 HelloWorld
+
# EXIT STATUS
Non zero is returned in case of failure.
@@ -103,4 +111,4 @@ See Github issue: <https://github.com/GENIVI/dlt-daemon/issues>
# SEE ALSO
-**dlt-daemon(1)** \ No newline at end of file
+**dlt-daemon(1)**