diff options
Diffstat (limited to 'ipfs-cli/src/command/bootstrap.rs')
-rw-r--r-- | ipfs-cli/src/command/bootstrap.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-cli/src/command/bootstrap.rs b/ipfs-cli/src/command/bootstrap.rs index 04d3022..63c5925 100644 --- a/ipfs-cli/src/command/bootstrap.rs +++ b/ipfs-cli/src/command/bootstrap.rs @@ -45,8 +45,8 @@ fn print_peers(peers: &Vec<String>) { } -pub fn handle(core: &mut Core, client: &IpfsClient, bootstrap: &ArgMatches) { - match bootstrap.subcommand() { +pub fn handle(core: &mut Core, client: &IpfsClient, args: &ArgMatches) { + match args.subcommand() { ("add", Some(add)) => { match add.subcommand() { ("default", _) => { |