Remove unused long options from getopt.getopt() call. The long options
"help", "input", and "output" were never handled in the option parsing
logic, so they are dead code.
Signed-off-by: Bin Cao <bin.cao.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
"""
global infile, outfile
try:
- opts, args = getopt.getopt(
- argv, "hi:o:", ["help", "input", "output"]
- )
+ opts, args = getopt.getopt(argv, "hi:o:")
except getopt.GetoptError:
show_syntax_and_exit(1)
for opt, arg in opts: