Allow having only one env conversion (#548)

Allows setting only `from_string` or `to_string` in `env_conversions`
config. Previously, both were required.
This commit is contained in:
Jakub Žádník
2021-12-22 00:32:38 +02:00
committed by GitHub
parent 52dba91e1a
commit deeb1da359
4 changed files with 75 additions and 70 deletions

View File

@ -12,7 +12,7 @@ impl Command for Env {
}
fn usage(&self) -> &str {
"Display current environment"
"Display current environment variables"
}
fn signature(&self) -> nu_protocol::Signature {