commands: Allow zero or one arguments in :reflow

`:reflow` can optionally be passed a width.
This commit is contained in:
Michael Davis 2025-03-14 10:36:01 -04:00
parent 44bddf51b7
commit 9574e551cf
No known key found for this signature in database

View file

@ -3368,7 +3368,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
fun: reflow,
completer: CommandCompleter::none(),
signature: Signature {
positionals: (0, Some(0)),
positionals: (0, Some(1)),
..Signature::DEFAULT
},
},