change -k to default _
This commit is contained in:
1 parent
4240c47244
commit
c4c26dd6d7
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ fn main() -> ResultType<()> {
|
||||
matches.value_of("port").unwrap_or(&port.to_string()),
|
||||
matches
|
||||
.value_of("key")
|
||||
.unwrap_or(&std::env::var("KEY").unwrap_or_default()),
|
||||
.unwrap_or(&std::env::var("KEY").unwrap_or("-".to_owned())),
|
||||
)?;
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user