mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
lib: Add a comment about why we only parse long options for subtests
For thet next one wondering about that. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
764b9e503e
commit
c6c6f0f593
@ -530,6 +530,8 @@ void drmtest_subtest_init(int argc, char **argv)
|
||||
|
||||
/* supress getopt errors about unknown options */
|
||||
opterr = 0;
|
||||
/* restrict the option parsing to long option names to avoid collisions
|
||||
* with options the test declares */
|
||||
while((c = getopt_long(argc, argv, "",
|
||||
long_options, &option_index)) != -1) {
|
||||
switch(c) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user