Correct a bug when the command has no option.