summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2012-04-27 16:14:34 -0300
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2012-05-16 17:07:29 -0300
commit984e44f88bad9b39bd5bb9c449f6bfb0580660ae (patch)
tree36febc33ac40b609eb540c740bb5742e1ba703b4 /tools
parente6b264cce7799d822bc8a1b0e493cf5dee112f85 (diff)
intel_infoframes: options -p and -P require an argumentHEADmaster
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/intel_infoframes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/intel_infoframes.c b/tools/intel_infoframes.c
index 0dea9038..f5a40067 100644
--- a/tools/intel_infoframes.c
+++ b/tools/intel_infoframes.c
@@ -968,7 +968,7 @@ int main(int argc, char *argv[])
DipType dip = DIP_INVALID;
Register hdmi_port;
- char short_opts[] = "dc:k:q:nNxXpPt:f:h";
+ char short_opts[] = "dc:k:q:nNxXp:P:t:f:h";
struct option long_opts[] = {
{ "dump", no_argument, NULL, 'd' },
{ "change-fields", required_argument, NULL, 'c' },
@@ -978,8 +978,8 @@ int main(int argc, char *argv[])
{ "enable", no_argument, NULL, 'N' },
{ "disable-infoframes", no_argument, NULL, 'x' },
{ "enable-infoframes", no_argument, NULL, 'X' },
- { "disable-hdmi-port", no_argument, NULL, 'p' },
- { "enable-hdmi-port", no_argument, NULL, 'P' },
+ { "disable-hdmi-port", required_argument, NULL, 'p' },
+ { "enable-hdmi-port", required_argument, NULL, 'P' },
{ "transcoder" , required_argument, NULL, 't' },
{ "infoframe", required_argument, NULL, 'f' },
{ "help", no_argument, NULL, 'h' },