From 130809800e6e3fa33e5fc207dd6e1d963231f2a9 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Tue, 1 Mar 2016 13:14:45 +0100 Subject: Send more folder listing details --- cli/actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') diff --git a/cli/actions.js b/cli/actions.js index 8a8624e..6f8faea 100644 --- a/cli/actions.js +++ b/cli/actions.js @@ -153,9 +153,9 @@ function get(filePath) { if (!files || files.entries.length === 0) { console.log('No files on the server. Use %s to upload some.', 'surfer put '.yellow); } else { - console.log('Files:'); + console.log('Entries:'); files.entries.forEach(function (entry) { - console.log('\t %s', entry); + console.log('\t %s', entry.isDirectory ? entry.filePath + '/' : entry.filePath); }); } } else { -- cgit v1.2.3