Skip to content

Commit 87ec9d5

Browse files
RichardLittKubuxu
authored andcommitted
Updated sharness
License: MIT Signed-off-by: Richard Littauer <[email protected]>
1 parent ea5a0d5 commit 87ec9d5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/sharness/t0040-add-and-cat.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ test_description="Test add and cat commands"
1111
client_err_add() {
1212
printf "$@\n\n"
1313
echo 'USAGE
14-
ipfs add <path>... - Add a file or directory to ipfs.
14+
ipfs add <path>... - Add a file to ipfs.
1515
16-
Adds contents of <path> to ipfs. Use -r to add directories (recursively).
16+
ipfs add <path> [--quiet | -q] [--silent] [--progress | -p]
17+
[--trickle |-t] [--wrap-with-directory | -w] [--hidden | -H]
18+
[--only-hash | -n] [--chunker | -s] [--pin] [--recursive | -r]
19+
20+
Adds contents of <path> to ipfs. Use -r to add directories.
21+
Note that directories are added recursively, to form the ipfs
22+
MerkleDAG.
1723
1824
Use '"'"'ipfs add --help'"'"' for more information about this command.
1925
'

0 commit comments

Comments
 (0)