From d55f813f48354690150313abf46a0c46f9b6f768 Mon Sep 17 00:00:00 2001 From: Lars Schneider Date: Mon, 6 Jul 2015 11:34:49 +0200 Subject: [PATCH] Rename command line parameter "objectid" to "object-id". https://github.com/github/git-lfs/pull/449/files#r33897536 --- commands/command_push.go | 2 +- test/test-push.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/command_push.go b/commands/command_push.go index d9bd80a2..71aa519a 100644 --- a/commands/command_push.go +++ b/commands/command_push.go @@ -172,6 +172,6 @@ func pushCommand(cmd *cobra.Command, args []string) { func init() { pushCmd.Flags().BoolVarP(&pushDryRun, "dry-run", "d", false, "Do everything except actually send the updates") pushCmd.Flags().BoolVarP(&useStdin, "stdin", "s", false, "Take refs on stdin (for pre-push hook)") - pushCmd.Flags().BoolVarP(&pushObjectIDs, "objectid", "o", false, "Push LFS object ID(s)") + pushCmd.Flags().BoolVarP(&pushObjectIDs, "object-id", "o", false, "Push LFS object ID(s)") RootCmd.AddCommand(pushCmd) } diff --git a/test/test-push.sh b/test/test-push.sh index abb37bd4..00bc2538 100755 --- a/test/test-push.sh +++ b/test/test-push.sh @@ -67,7 +67,7 @@ begin_test "push object id(s)" git add .gitattributes a.dat git commit -m "add a.dat" - git lfs push --objectid origin \ + git lfs push --object-id origin \ 4c48d2a6991c9895bcddcf027e1e4907280bcf21975492b1afbade396d6a3340 \ 2>&1 | tee push.log grep "(1 of 1 files)" push.log @@ -76,7 +76,7 @@ begin_test "push object id(s)" git add b.dat git commit -m "add b.dat" - git lfs push --objectid origin \ + git lfs push --object-id origin \ 4c48d2a6991c9895bcddcf027e1e4907280bcf21975492b1afbade396d6a3340 \ 82be50ad35070a4ef3467a0a650c52d5b637035e7ad02c36652e59d01ba282b7 \ 2>&1 | tee push.log