summaryrefslogtreecommitdiffstats
path: root/ipfs-cli/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-cli/src/main.rs')
-rw-r--r--ipfs-cli/src/main.rs26
1 files changed, 13 insertions, 13 deletions
diff --git a/ipfs-cli/src/main.rs b/ipfs-cli/src/main.rs
index e373910..b0262aa 100644
--- a/ipfs-cli/src/main.rs
+++ b/ipfs-cli/src/main.rs
@@ -46,20 +46,20 @@ fn main() {
let client = IpfsClient::default(&core.handle());
match matches.subcommand() {
- ("add", Some(args)) => command::add::handle(&mut core, &client, &args),
- ("bitswap", Some(args)) => command::bitswap::handle(&mut core, &client, &args),
- ("block", Some(args)) => command::block::handle(&mut core, &client, &args),
- ("bootstrap", Some(args)) => command::bootstrap::handle(&mut core, &client, &args),
- ("cat", Some(args)) => command::cat::handle(&mut core, &client, &args),
+ ("add", Some(args)) => command::add::handle(&mut core, &client, args),
+ ("bitswap", Some(args)) => command::bitswap::handle(&mut core, &client, args),
+ ("block", Some(args)) => command::block::handle(&mut core, &client, args),
+ ("bootstrap", Some(args)) => command::bootstrap::handle(&mut core, &client, args),
+ ("cat", Some(args)) => command::cat::handle(&mut core, &client, args),
("commands", _) => command::commands::handle(&mut core, &client),
- ("config", Some(args)) => command::config::handle(&mut core, &client, &args),
- ("dag", Some(args)) => command::dag::handle(&mut core, &client, &args),
- ("dht", Some(args)) => command::dht::handle(&mut core, &client, &args),
- ("diag", Some(args)) => command::diag::handle(&mut core, &client, &args),
- ("dns", Some(args)) => command::dns::handle(&mut core, &client, &args),
- ("file", Some(args)) => command::file::handle(&mut core, &client, &args),
- ("files", Some(args)) => command::files::handle(&mut core, &client, &args),
- ("filestore", Some(args)) => command::filestore::handle(&mut core, &client, &args),
+ ("config", Some(args)) => command::config::handle(&mut core, &client, args),
+ ("dag", Some(args)) => command::dag::handle(&mut core, &client, args),
+ ("dht", Some(args)) => command::dht::handle(&mut core, &client, args),
+ ("diag", Some(args)) => command::diag::handle(&mut core, &client, args),
+ ("dns", Some(args)) => command::dns::handle(&mut core, &client, args),
+ ("file", Some(args)) => command::file::handle(&mut core, &client, args),
+ ("files", Some(args)) => command::files::handle(&mut core, &client, args),
+ ("filestore", Some(args)) => command::filestore::handle(&mut core, &client, args),
("version", _) => command::version::handle(&mut core, &client),
_ => unreachable!(),
}