Change command line options to arguments to make it work with flink.