Wrong --local/-L flag documentation #4182
Labels
kind/bug
A bug in existing code (including security flaws)
topic/commands:add
Topic commands:add
topic/commands
Topic commands
ghost commentedAug 29, 2017
Version information: v0.4.10
Type: bug
Severity: medium
Description:
ipfs --helpdefines--localas "Run the command locally, instead of using the daemon". This is completely inaccurate. The flag is used in only two places:ipfs add --localuses an Offline Exchange for adding files, skipping the immediate publication of provider records.ipfs name resolve --localuses an Offline Routing Resolver, avoiding IPNS queries to the DHT.The flag should be removed from the root command, and instead added to these two commands.
There's a backward compatiblity angle to consider, where tools could possibly be calling
ipfs --local add <file>instead of the betteripfs add --local <file>.The text was updated successfully, but these errors were encountered: