aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-26 13:40:25 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2012-09-26 13:40:25 +0200
commitc7ebc2e7c47dc3267461759e1e7411d1c8b9f0ee (patch)
treecedd2d9bde43d25d1b435d821104629d903961b8 /utils
parentfb1692e6d8f37ebfb02a1a488191fcb16adf22d7 (diff)
v4l2-ctl/rds-ctl: fix --silent handling.
v4l2-ctl mentioned --silent in the usage text, but did not actually add the option, and rds-ctl added the option, but didn't mention it in the usage text. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/rds-ctl/rds-ctl.cpp2
-rw-r--r--utils/v4l2-compliance/v4l2-compliance.cpp2
-rw-r--r--utils/v4l2-ctl/v4l2-ctl.cpp1
3 files changed, 4 insertions, 1 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp
index 07727c57..64d581df 100644
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -115,6 +115,7 @@ static struct option long_options[] = {
{"set-freq", required_argument, 0, OptSetFreq},
{"tmc", no_argument, 0, OptTMC},
{"tuner-index", required_argument, 0, OptTunerIndex},
+ {"silent", no_argument, 0, OptSilent},
{"verbose", no_argument, 0, OptVerbose},
{"wait-limit", required_argument, 0, OptWaitLimit},
{"wrapper", no_argument, 0, OptUseWrapper},
@@ -172,6 +173,7 @@ static void usage_rds(void)
" --print-block prints all valid RDS fields, whenever a value is updated\n"
" instead of printing only updated values\n"
" --tmc enables decoding of TMC (Traffic Message Channel) data\n"
+ " --silent only set the result code, do not print any messages\n"
" --verbose turn on verbose mode - every received RDS group\n"
" will be printed\n"
);
diff --git a/utils/v4l2-compliance/v4l2-compliance.cpp b/utils/v4l2-compliance/v4l2-compliance.cpp
index 57a1f0d3..19ac10d3 100644
--- a/utils/v4l2-compliance/v4l2-compliance.cpp
+++ b/utils/v4l2-compliance/v4l2-compliance.cpp
@@ -678,7 +678,7 @@ int main(int argc, char **argv)
printf("Buffer ioctls:\n");
printf("\ttest VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: %s\n", ok(testReqBufs(&node)));
- printf("\ttest read/write: %s\n", ok(testReadWrite(&node)));
+ //printf("\ttest read/write: %s\n", ok(testReadWrite(&node)));
printf("\n");
/* TODO:
diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
index bb378a69..3ed1f3db 100644
--- a/utils/v4l2-ctl/v4l2-ctl.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -127,6 +127,7 @@ static struct option long_options[] = {
{"get-tuner", no_argument, 0, OptGetTuner},
{"set-tuner", required_argument, 0, OptSetTuner},
{"list-freq-bands", no_argument, 0, OptListFreqBands},
+ {"silent", no_argument, 0, OptSilent},
{"verbose", no_argument, 0, OptVerbose},
{"log-status", no_argument, 0, OptLogStatus},
{"get-fmt-overlay", no_argument, 0, OptGetOverlayFormat},

Privacy Policy