Fixed generate command option