@cryptotaxi247 / kubo / commits / d4cd37809

Clarify why ipfs file ls is being deprecated.

Chaitanya committed Nov 7, 2020 at 12:24 UTC d4cd378092755ab67d07f33137996a47bb31dcbb
1 file changed +5 -1
core/commands/unixfs/ls.go
+5 -1
@@ -34,7 +34,7 @@ type LsOutput struct {
34
35 var LsCmd = &cmds.Command{
36 Helptext: cmds.HelpText{
37 - Tagline: "List directory contents for Unix filesystem objects.",
37 + Tagline: "List directory contents for Unix filesystem objects. Deprecated: Use 'ipfs ls' instead",
38 ShortDescription: `
39 Displays the contents of an IPFS or IPNS object(s) at the given path.
40
@@ -44,6 +44,8 @@ size is the IPFS link size.
44
45 This functionality is deprecated, and will be removed in future versions. If
46 possible, please use 'ipfs ls' instead.
47 +
48 +It is deprecated because 'ipfs file ls' drop some of the ipfs specific info and almost same as 'ipfs ls'
49 `,
50 LongDescription: `
51 Displays the contents of an IPFS or IPNS object(s) at the given path.
@@ -64,6 +66,8 @@ Example:
66
67 This functionality is deprecated, and will be removed in future versions. If
68 possible, please use 'ipfs ls' instead.
69 +
70 +It is deprecated because 'ipfs file ls' drop some of the ipfs specific info and almost same as 'ipfs ls'
71 `,
72 },
73