Skip to content

prison-datamatrix.cpp remove duplicated command line parameter "--outputfile"

Marius Pa requested to merge nmariusp/prison:work/nmariusp/outputfile into master

As per https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html "GNU adds long options to these conventions. Long options consist of -- followed by a name made of alphanumeric characters and dashes. Option names are typically one to three words long, with hyphens to separate words."

Fixes PVS-Studio issue "prison-datamatrix.cpp:43: error: V501 There are identical sub-expressions 'argument == QLatin1String("--output-format")' to the left and to the right of the '||' operator.".

Merge request reports