aboutsummaryrefslogtreecommitdiffstats
path: root/commands/pull.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-15 09:26:11 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-15 09:26:11 +0200
commitc2774dcf23d94a187f6679395e373c6fa1c627e1 (patch)
tree7067b121dd856f4d9c8461b72cf50bbdde270f3c /commands/pull.go
parentcbff4b8aba9bc5207d07523181f2be8e94ece881 (diff)
downloadgit-bug-c2774dcf23d94a187f6679395e373c6fa1c627e1.tar.gz
add a "comment" command
Diffstat (limited to 'commands/pull.go')
-rw-r--r--commands/pull.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/pull.go b/commands/pull.go
index 105fce9c..b408c285 100644
--- a/commands/pull.go
+++ b/commands/pull.go
@@ -7,7 +7,7 @@ import (
"github.com/MichaelMure/git-bug/repository"
)
-func pull(repo repository.Repo, args []string) error {
+func runPull(repo repository.Repo, args []string) error {
if len(args) > 1 {
return errors.New("Only pulling from one remote at a time is supported")
}
@@ -28,5 +28,5 @@ var pullCmd = &Command{
Usage: func(arg0 string) {
fmt.Printf("Usage: %s pull [<remote>]\n", arg0)
},
- RunMethod: pull,
+ RunMethod: runPull,
}