mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 06:46:13 +00:00
intel_infoframes: options -p and -P require an argument
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
e6b264cce7
commit
984e44f88b
@ -968,7 +968,7 @@ int main(int argc, char *argv[])
|
|||||||
DipType dip = DIP_INVALID;
|
DipType dip = DIP_INVALID;
|
||||||
Register hdmi_port;
|
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[] = {
|
struct option long_opts[] = {
|
||||||
{ "dump", no_argument, NULL, 'd' },
|
{ "dump", no_argument, NULL, 'd' },
|
||||||
{ "change-fields", required_argument, NULL, 'c' },
|
{ "change-fields", required_argument, NULL, 'c' },
|
||||||
@ -978,8 +978,8 @@ int main(int argc, char *argv[])
|
|||||||
{ "enable", no_argument, NULL, 'N' },
|
{ "enable", no_argument, NULL, 'N' },
|
||||||
{ "disable-infoframes", no_argument, NULL, 'x' },
|
{ "disable-infoframes", no_argument, NULL, 'x' },
|
||||||
{ "enable-infoframes", no_argument, NULL, 'X' },
|
{ "enable-infoframes", no_argument, NULL, 'X' },
|
||||||
{ "disable-hdmi-port", no_argument, NULL, 'p' },
|
{ "disable-hdmi-port", required_argument, NULL, 'p' },
|
||||||
{ "enable-hdmi-port", no_argument, NULL, 'P' },
|
{ "enable-hdmi-port", required_argument, NULL, 'P' },
|
||||||
{ "transcoder" , required_argument, NULL, 't' },
|
{ "transcoder" , required_argument, NULL, 't' },
|
||||||
{ "infoframe", required_argument, NULL, 'f' },
|
{ "infoframe", required_argument, NULL, 'f' },
|
||||||
{ "help", no_argument, NULL, 'h' },
|
{ "help", no_argument, NULL, 'h' },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user