aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rds-ctl/rds-ctl.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-02-28 21:45:07 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2018-02-28 21:45:07 +0100
commit633d4bc936090ab92549e316510a73582f93457b (patch)
tree157e937a48c78f4e6ef631e78b842df231336dc6 /utils/rds-ctl/rds-ctl.cpp
parentcf1dc14faa6886d0b1f52c6c046975d8c8cc67f5 (diff)
rds-ctl: improve usage messages
Drop the '=' separator between the option and the arguments in the usage message. It's confusing and not needed. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/rds-ctl/rds-ctl.cpp')
-rw-r--r--utils/rds-ctl/rds-ctl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp
index 272c8d75..05b882e3 100644
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -115,7 +115,7 @@ static void usage_common(void)
printf("\nGeneral/Common options:\n"
" --all display all device information available\n"
" -D, --info show driver info [VIDIOC_QUERYCAP]\n"
- " -d, --device=<dev> use device <dev>\n"
+ " -d, --device <dev> use device <dev>\n"
" If <dev> starts with a digit, then /dev/radio<dev> is used\n"
" default: checks for RDS-capable devices,\n"
" uses device with lowest ID\n"
@@ -128,11 +128,11 @@ static void usage_tuner(void)
{
printf("\nTuner/Modulator options:\n"
" -F, --get-freq query the frequency [VIDIOC_G_FREQUENCY]\n"
- " -f, --set-freq=<freq>\n"
+ " -f, --set-freq <freq>\n"
" set the frequency to <freq> MHz [VIDIOC_S_FREQUENCY]\n"
" -T, --get-tuner query the tuner settings [VIDIOC_G_TUNER]\n"
- " --tuner-index=<idx> Use idx as tuner idx for tuner/modulator commands\n"
- " --freq-seek=dir=<0/1>,wrap=<0/1>,spacing=<hz>\n"
+ " --tuner-index <idx> Use idx as tuner idx for tuner/modulator commands\n"
+ " --freq-seek dir=<0/1>,wrap=<0/1>,spacing=<hz>\n"
" perform a hardware frequency seek [VIDIOC_S_HW_FREQ_SEEK]\n"
" dir is 0 (seek downward) or 1 (seek upward)\n"
" wrap is 0 (do not wrap around) or 1 (wrap around)\n"
@@ -147,9 +147,9 @@ static void usage_rds(void)
printf("\nRDS options: \n"
" -b, --rbds parse the RDS data according to the RBDS standard\n"
" -R, --read-rds enable reading of RDS data from device\n"
- " --file=<path> open a RDS stream file dump instead of a device\n"
+ " --file <path> open a RDS stream file dump instead of a device\n"
" all General and Tuner Options are disabled in this mode\n"
- " --wait-limit=<ms> defines the maximum wait duration for avaibility of new\n"
+ " --wait-limit <ms> defines the maximum wait duration for avaibility of new\n"
" RDS data\n"
" <default>: 5000 ms\n"
" --print-block prints all valid RDS fields, whenever a value is updated\n"

Privacy Policy