Skip to content

Commit

Permalink
add OK printf
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb committed Sep 3, 2017
1 parent b120c0b commit dc02181
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jiracmd/worklogAdd.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package jiracmd

import (
"fmt"

"github.com/coryb/figtree"
"github.com/coryb/oreo"
"gopkg.in/Netflix-Skunkworks/go-jira.v1"
Expand Down Expand Up @@ -55,6 +57,7 @@ func CmdWorklogAdd(o *oreo.Client, globals *jiracli.GlobalOptions, opts *Worklog
if err != nil {
return err
}
fmt.Printf("OK %s %s/browse/%s\n", opts.Issue, globals.Endpoint.Value, opts.Issue)
if opts.Browse.Value {
return CmdBrowse(globals, opts.Issue)
}
Expand Down

0 comments on commit dc02181

Please sign in to comment.