path: root/utils/rds-ctl
diff options
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/rds-ctl
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/rds-ctl')
1 files changed, 2 insertions, 0 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"

Privacy Policy