Fixed #22835 -- Deprecated NoArgsCommand.