diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-15 09:26:11 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-15 09:26:11 +0200 |
commit | c2774dcf23d94a187f6679395e373c6fa1c627e1 (patch) | |
tree | 7067b121dd856f4d9c8461b72cf50bbdde270f3c /commands/push.go | |
parent | cbff4b8aba9bc5207d07523181f2be8e94ece881 (diff) | |
download | git-bug-c2774dcf23d94a187f6679395e373c6fa1c627e1.tar.gz |
add a "comment" command
Diffstat (limited to 'commands/push.go')
-rw-r--r-- | commands/push.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/push.go b/commands/push.go index 54a657b9..416a61a1 100644 --- a/commands/push.go +++ b/commands/push.go @@ -7,7 +7,7 @@ import ( "github.com/MichaelMure/git-bug/repository" ) -func push(repo repository.Repo, args []string) error { +func runPush(repo repository.Repo, args []string) error { if len(args) > 1 { return errors.New("Only pushing to one remote at a time is supported") } @@ -28,5 +28,5 @@ var pushCmd = &Command{ Usage: func(arg0 string) { fmt.Printf("Usage: %s push [<remote>]\n", arg0) }, - RunMethod: push, + RunMethod: runPush, } |