mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +08:00
Improve command documentation for listing commands (Fixes #3057).
* Document deprecation of 'ipfs file' in command help. * Be explicit about 'ipfs ls' listing unixfs and suplying type in JSON. * Amend description for 'ipfs files ls'. License: MIT Signed-off-by: Mathijs de Bruin <mathijs@mathijsfietst.nl>
This commit is contained in:
@ -42,6 +42,9 @@ Displays the contents of an IPFS or IPNS object(s) at the given path.
|
||||
The JSON output contains size information. For files, the child size
|
||||
is the total size of the file contents. For directories, the child
|
||||
size is the IPFS link size.
|
||||
|
||||
This functionality is deprecated, and will be removed in future versions. If
|
||||
possible, please use 'ipfs ls' instead.
|
||||
`,
|
||||
LongDescription: `
|
||||
Displays the contents of an IPFS or IPNS object(s) at the given path.
|
||||
@ -59,6 +62,9 @@ Example:
|
||||
cat.jpg
|
||||
> ipfs file ls /ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ
|
||||
cat.jpg
|
||||
|
||||
This functionality is deprecated, and will be removed in future versions. If
|
||||
possible, please use 'ipfs ls' instead.
|
||||
`,
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user