mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:06:08 +02:00
@ -92,6 +92,14 @@ impl ClassifiedCommand {
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(named) = &command.args.named {
|
||||
for arg in named.iter() {
|
||||
if let NamedValue::Value(_, value) = arg.1 {
|
||||
result = result || value.has_shallow_it_usage();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
result
|
||||
}
|
||||
ClassifiedCommand::Expr(expr) => expr.has_shallow_it_usage(),
|
||||
|
Reference in New Issue
Block a user