From 334f5ee8ce9f7df7c8cb120fce7ffb258ed39e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=B0=8F=E6=98=8E?= Date: Tue, 8 Jan 2019 15:39:16 +0800 Subject: [PATCH] files.ls options long to l `l` work, `long` not. 0.4.8 --- SPEC/FILES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC/FILES.md b/SPEC/FILES.md index e44d8d65..ec5a0621 100644 --- a/SPEC/FILES.md +++ b/SPEC/FILES.md @@ -1090,7 +1090,7 @@ Where: - `path` is an optional string to show listing for (default: `/`) - `options` is an optional Object that might contain the following keys: - - `long` is a Boolean value to decide whether or not to populate `type`, `size` and `hash` (default: false) + - `l` is a Boolean value to decide whether or not to populate `type`, `size` and `hash` (default: false) - `cidBase` is which number base to use to format hashes - e.g. `base32`, `base64` etc (default: `base58btc`) - `sort` is a Boolean value, if true entries will be sorted by filename (default: false) - `callback` is an optional function with the signature `function (error, files) {}`, where `error` may be an Error that occured if the operation was not successful and `files` is an array containing Objects that contain the following keys: