main.cpp: straighten the getopt/optind adjustment before openfiles
authorGerhard Sittig <gerhard.sittig@gmx.net>
Wed, 6 Jun 2018 16:50:26 +0000 (18:50 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Tue, 19 Jun 2018 16:49:50 +0000 (18:49 +0200)
The pulseview(1) application accepts input file specs either as argument
to the -i option, or as positional arguments after the command line options.

Simplify the logic which collects remaining non-option command line words
after getopt(3) is done. As a byproduct the application code no longer
manipulates a variable that is owned by an external library.


No differences found