Skip to content

Commit

Permalink
Merge pull request #6769 from Jorropo/feat/repo-stat-H
Browse files Browse the repository at this point in the history
Adding alias for `ipfs repo stat`.
  • Loading branch information
Stebalien authored Nov 18, 2019
2 parents 974aabb + 2d7fae7 commit 7c01c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/commands/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ Version string The repo version.
`,
},
Options: []cmds.Option{
cmds.BoolOption(repoSizeOnlyOptionName, "Only report RepoSize and StorageMax."),
cmds.BoolOption(repoHumanOptionName, "Print sizes in human readable format (e.g., 1K 234M 2G)"),
cmds.BoolOption(repoSizeOnlyOptionName, "s", "Only report RepoSize and StorageMax."),
cmds.BoolOption(repoHumanOptionName, "H", "Print sizes in human readable format (e.g., 1K 234M 2G)"),
},
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
n, err := cmdenv.GetNode(env)
Expand Down

0 comments on commit 7c01c2c

Please sign in to comment.