Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 5e9b00a

Browse files
author
Pedro Santos
committed
chore: make stats output consistent with go-ipfs
1 parent 97b533c commit 5e9b00a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/cli/commands/repo/stat.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ module.exports = {
1616
argv.resolve((async () => {
1717
const ipfs = await argv.getIpfs()
1818
const stats = await ipfs.repo.stat({ human: argv.human })
19-
argv.print(`repo status
20-
number of objects: ${stats.numObjects}
21-
repo size: ${stats.repoSize}
22-
repo path: ${stats.repoPath}
23-
version: ${stats.version}
24-
maximum storage: ${stats.storageMax}`)
19+
argv.print(
20+
`NumObjects: ${stats.numObjects}
21+
RepoSize: ${stats.repoSize}
22+
StorageMax: ${stats.storageMax}
23+
RepoPath: ${stats.repoPath}
24+
Version: ${stats.version}`)
2525
})())
2626
}
2727
}

0 commit comments

Comments
 (0)