diff options
| author | Jeff Carr <[email protected]> | 2024-12-24 03:35:19 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-24 03:35:19 -0600 |
| commit | 55e7e11a4c5b2cf07d3faf6f1321d071e6dc568c (patch) | |
| tree | b0ffebdd7481b5913191655ff47a43c86a332a7f /main.go | |
| parent | 3505a66d84b13d71d530ca74d1dbc85d1c6cfb2b (diff) | |
set a Name for the patchsetv0.22.26
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 { |
