tests for stringsIndex()
flexible parsing of app flag

If the run command has a -a in it, require users to provide the command
after a --.

For all other commands, allow the -a flag to appear anywhere.