summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rwxr-xr-xsrc/examples/dlt-example-user-func.c7
-rwxr-xr-xsrc/examples/dlt-example-user.c7
2 files changed, 0 insertions, 14 deletions
diff --git a/src/examples/dlt-example-user-func.c b/src/examples/dlt-example-user-func.c
index 100d0c1..c0adff1 100755
--- a/src/examples/dlt-example-user-func.c
+++ b/src/examples/dlt-example-user-func.c
@@ -90,7 +90,6 @@ void usage()
printf("Generate DLT messages and store them to file or send them to daemon.\n");
printf("%s \n", version);
printf("Options:\n");
- printf(" -v Verbose mode\n");
printf(" -d delay Milliseconds to wait between sending messages (Default: 500)\n");
printf(" -f filename Use local log file instead of sending to daemon\n");
printf(" -n count Number of messages to be generated (Default: 10)\n");
@@ -103,7 +102,6 @@ void usage()
*/
int main(int argc, char* argv[])
{
- int vflag = 0;
int gflag = 0;
int aflag = 0;
char *dvalue = 0;
@@ -123,11 +121,6 @@ int main(int argc, char* argv[])
{
switch (c)
{
- case 'v':
- {
- vflag = 1;
- break;
- }
case 'g':
{
gflag = 1;
diff --git a/src/examples/dlt-example-user.c b/src/examples/dlt-example-user.c
index afe2be0..2127445 100755
--- a/src/examples/dlt-example-user.c
+++ b/src/examples/dlt-example-user.c
@@ -90,7 +90,6 @@ void usage()
printf("Generate DLT messages and store them to file or send them to daemon.\n");
printf("%s \n", version);
printf("Options:\n");
- printf(" -v Verbose mode\n");
printf(" -d delay Milliseconds to wait between sending messages (Default: 500)\n");
printf(" -f filename Use local log file instead of sending to daemon\n");
printf(" -n count Number of messages to be generated (Default: 10)\n");
@@ -109,7 +108,6 @@ void usage()
*/
int main(int argc, char* argv[])
{
- int vflag = 0;
int gflag = 0;
int aflag = 0;
#ifdef DLT_TEST_ENABLE
@@ -141,11 +139,6 @@ int main(int argc, char* argv[])
{
switch (c)
{
- case 'v':
- {
- vflag = 1;
- break;
- }
case 'g':
{
gflag = 1;