mirror of
https://github.com/nushell/nushell.git
synced 2025-06-02 08:06:12 +02:00
Add warning message for use of positional
This commit is contained in:
parent
1c9377df6f
commit
b0e5979e94
@ -105,6 +105,7 @@ impl<T: Completer> Completer for CustomCompletion<T> {
|
||||
if let Some(positional) =
|
||||
options.get("positional").and_then(|val| val.as_bool().ok())
|
||||
{
|
||||
log::warn!("Use of the positional option is deprecated. Use the substring match algorithm instead.");
|
||||
completion_options.positional = positional;
|
||||
}
|
||||
if let Some(algorithm) = options
|
||||
|
Loading…
x
Reference in New Issue
Block a user