Skip to content
Snippets Groups Projects
Verified Commit 249bc88d authored by nfontrod's avatar nfontrod
Browse files

src/main.rs: update the remote interface

parent f1542f28
No related branches found
No related tags found
No related merge requests found
...@@ -368,11 +368,11 @@ fn main() { ...@@ -368,11 +368,11 @@ fn main() {
Config::Prune(pp) => configt::launch_config_prune(pp), Config::Prune(pp) => configt::launch_config_prune(pp),
}, },
Commands::Remote(remote) => match remote { Commands::Remote(remote) => match remote {
Remote::Add(e) => println!("Not defined"), Remote::Add(e) => remote::update_config(&e.key, &e.value, e.global),
Remote::Show => { Remote::Show => {
remote::show(); remote::show();
} }
Remote::Rm(e) => println!("Not defined"), Remote::Rm(e) => remote::remove_config(&e.key, e.global),
}, },
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment