mirror of
https://github.com/nushell/nushell.git
synced 2025-08-19 07:41:30 +02:00
Fix inc plugin
This commit is contained in:
@@ -17,7 +17,7 @@ impl Plugin for Inc {
|
||||
fn config(&mut self) -> Result<CommandConfig, ShellError> {
|
||||
Ok(CommandConfig {
|
||||
name: "inc".to_string(),
|
||||
positional: vec![PositionalType::mandatory_any("Increment")],
|
||||
positional: vec![PositionalType::optional_any("Increment")],
|
||||
is_filter: true,
|
||||
is_sink: false,
|
||||
named: IndexMap::new(),
|
||||
|
Reference in New Issue
Block a user