fixed list flag not correctly exiting
This commit is contained in:
parent
72fbc37687
commit
bc015a169d
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "config"
|
||||
version = "0.0.1"
|
||||
version = "0.0.2"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -15,7 +15,7 @@ use toml::Value;
|
|||
|
||||
mod error;
|
||||
|
||||
pub const VERSION: &str = "0.0.1";
|
||||
pub const VERSION: &str = "0.0.2";
|
||||
|
||||
fn main() -> Result<(), Box<dyn Error>>{
|
||||
let home_dir = var("HOME").unwrap();
|
||||
|
@ -61,6 +61,7 @@ fn main() -> Result<(), Box<dyn Error>>{
|
|||
for key in config.keys() {
|
||||
println!("{}", key);
|
||||
}
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let entry = &args[args.len() - 1];
|
||||
|
|
Loading…
Reference in a new issue