Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0cd2113

Browse files
committedJul 29, 2015
add: abbreviate --only-hash with -y, not -n
want to use -n for abbreviating --name. License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
1 parent 8ed08ab commit 0cd2113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/commands/add.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ remains to be implemented.
5858
cmds.BoolOption(quietOptionName, "q", "Write minimal output"),
5959
cmds.BoolOption(progressOptionName, "p", "Stream progress data"),
6060
cmds.BoolOption(trickleOptionName, "t", "Use trickle-dag format for dag generation"),
61-
cmds.BoolOption(onlyHashOptionName, "n", "Only chunk and hash - do not write to disk"),
61+
cmds.BoolOption(onlyHashOptionName, "y", "Only chunk and hash - do not write to disk"),
6262
cmds.BoolOption(wrapOptionName, "w", "Wrap files with a directory object"),
6363
cmds.BoolOption(hiddenOptionName, "Include files that are hidden"),
6464
},

0 commit comments

Comments
 (0)
Please sign in to comment.