add sys.argv support

add sys.argv judge parameter.