diff options
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-10-06 10:01:12 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-10-06 10:01:12 +0200
commit28df3d403be3d7769d7b10cda3e372a0dbbfa410 (patch)
parent4e1feaa41ae25d7f3258c8f45a0aceb58e6b3de0 (diff)
cec-compliance: options -n and -N were swapped in --help
The -n and -N options were swapped in the usage message: '-n' must be '-N' and vice versa. The man page and code is OK, it was just the usage message that was wrong. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cec-compliance/cec-compliance.cpp b/utils/cec-compliance/cec-compliance.cpp
index 2f085b49..33645319 100644
--- a/utils/cec-compliance/cec-compliance.cpp
+++ b/utils/cec-compliance/cec-compliance.cpp
@@ -219,12 +219,12 @@ static void usage()
" -l, --list-tests List all tests.\n"
" -e, --expect <test>=<result>\n"
" Fail if the test gave a different result.\n"
- " -N, --expect-with-no-warnings <test>=<result>\n"
+ " -n, --expect-with-no-warnings <test>=<result>\n"
" Fail if the test gave a different result or if the test generated warnings.\n"
" -h, --help Display this help message\n"
" -C, --color <when> Highlight OK/warn/fail/FAIL strings with colors\n"
" <when> can be set to always, never, or auto (the default)\n"
- " -n, --no-warnings Turn off warning messages\n"
+ " -N, --no-warnings Turn off warning messages\n"
" -s, --skip-info Skip Driver Info output\n"
" -T, --trace Trace all called ioctls\n"
" -v, --verbose Turn on verbose reporting\n"

Privacy Policy