diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -32,6 +32,9 @@ func main() { me = new(mainType) me.pp = arg.MustParse(&argv) me.urlbase = argv.URL + if me.urlbase == "" { + me.urlbase = "https://go.wit.com/" + } me.urlbase = strings.Trim(me.urlbase, "/") // track down why trailing '/' makes http POST not work // load the ~/.config/forge/ config @@ -108,12 +111,11 @@ func main() { doCobol() done = true } - } - - if argv.DoPatchSet { - sendDevelDiff() - // sendMasterDiff() - okExit("patches") + if argv.Do.PatchSet != "" { + sendDevelDiff(argv.Do.PatchSet) + // sendMasterDiff() + okExit("patches") + } } if argv.ListPatchSet { |
