clear up comment about flush=false
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
Jeromy committed
Feb 4, 2016 at 15:33 UTC
c47e12ebb1562ad5c4ed846b32067c96b205fa29
1 file changed
+6
-6
core/commands/files/files.go
+6
-6
@@ -29,12 +29,12 @@ var FilesCmd = &cmds.Command{
29
Files is an API for manipulating ipfs objects as if they were a unix filesystem.
30
31
Note:
32
-Most of the subcommands of 'ipfs files' accept the '--flush' flag. Use caution
33
-when using this flag, It will improve performance for large numbers of file
34
-operations, but it does so at the cost of consistency guarantees. If the daemon
35
-is unexpectedly killed before running 'ipfs files flush' on the files in question,
36
-then data may be lost. This also applies to running 'ipfs repo gc' concurrently
37
-with '--flush=false' operations.
32
+Most of the subcommands of 'ipfs files' accept the '--flush' flag. It defaults to
33
+true. Use caution when setting this flag to false, It will improve performance
34
+for large numbers of file operations, but it does so at the cost of consistency
35
+guarantees. If the daemon is unexpectedly killed before running 'ipfs files flush'
36
+on the files in question, then data may be lost. This also applies to running
37
+'ipfs repo gc' concurrently with '--flush=false' operations.
38
`,
39
},
40
Options: []cmds.Option{