modified command line options to func arguments.

removed help and version