]> git.cworth.org Git - fips/commit
Stop processing command-line options at first non-option argument
authorCarl Worth <cworth@cworth.org>
Tue, 25 Jun 2013 23:48:13 +0000 (16:48 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 25 Jun 2013 23:48:13 +0000 (16:48 -0700)
commitd09ba0c7af0f6aa513a3f05fa3c5e0a24729178d
treedb4654d795fa76eb2b088bd5a44bd4583032bdc7
parent7ca2f1e135d95263282b7cb01dff7e301f2146cf
Stop processing command-line options at first non-option argument

This makes it much easier to pass options to the program being
executed by fips. The options can be passed directly, such as:

fips glxgears -fullscreen

Previous, to this commit, one would have to use a syntax such as:

fips -- glxgears -fullscreen

to prevent fips from trying to interpret the "-fullscreen" argument as
options to fips itself.
fips.c