Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

files.ls options name: long to l #426

Closed
wants to merge 1 commit into from
Closed

files.ls options name: long to l #426

wants to merge 1 commit into from

Conversation

alx696
Copy link

@alx696 alx696 commented Jan 8, 2019

l work, long not.

go-ipfs v0.4.18

`l` work, `long` not. 0.4.8
@achingbrain
Copy link
Collaborator

go-ipfs should support -l and —long - would you like to try adding support for it?

Ref: ipfs/kubo#5026 (comment)

@alx696
Copy link
Author

alx696 commented Jan 8, 2019

go-ipfs should support -l and —long - would you like to try adding support for it?

Ref: ipfs/go-ipfs#5026 (comment)

https://github.com/ipfs/interface-ipfs-core/blob/master/SPEC/FILES.md#filesls options: long

But CLI Commands just support -l, and js-ipfs-http-client just support {l: true}.

x@xpc:~$ ipfs version
ipfs version 0.4.18
x@xpc:~$ ipfs files ls -l
测试/	QmdTemRHV2eXouL6wdprqtWKfW441rMWfvmxdur8mi8XDS	0
x@xpc:~$ ipfs files ls —long
Error: paths must start with a leading slash
x@xpc:~$ ipfs files ls --long
Error: unknown option "long"

ipfs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants