Clarify why ipfs file ls is being deprecated.

This commit is contained in:
Chaitanya 2020-11-07 12:24:18 +05:30 committed by GitHub
parent 0401f60973
commit d4cd378092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ type LsOutput struct {
var LsCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "List directory contents for Unix filesystem objects.",
Tagline: "List directory contents for Unix filesystem objects. Deprecated: Use 'ipfs ls' instead",
ShortDescription: `
Displays the contents of an IPFS or IPNS object(s) at the given path.
@ -44,6 +44,8 @@ size is the IPFS link size.
This functionality is deprecated, and will be removed in future versions. If
possible, please use 'ipfs ls' instead.
It is deprecated because 'ipfs file ls' drop some of the ipfs specific info and almost same as 'ipfs ls'
`,
LongDescription: `
Displays the contents of an IPFS or IPNS object(s) at the given path.
@ -64,6 +66,8 @@ Example:
This functionality is deprecated, and will be removed in future versions. If
possible, please use 'ipfs ls' instead.
It is deprecated because 'ipfs file ls' drop some of the ipfs specific info and almost same as 'ipfs ls'
`,
},