From d4cd378092755ab67d07f33137996a47bb31dcbb Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Sat, 7 Nov 2020 12:24:18 +0530 Subject: [PATCH] Clarify why ipfs file ls is being deprecated. --- core/commands/unixfs/ls.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/commands/unixfs/ls.go b/core/commands/unixfs/ls.go index 58c57797b..39531bc1a 100644 --- a/core/commands/unixfs/ls.go +++ b/core/commands/unixfs/ls.go @@ -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' `, },