Optmize OptionInjector.

Now output path can be passed in by --ouput or -o option.