diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -76,6 +76,17 @@ func main() { } } + if argv.Apply != "" { + pset, err := readPatchFile(argv.Apply) + if err != nil { + badExit(err) + } + if err = applyPatches(pset); err == nil { + okExit("applied patch ok") + } + badExit(err) + } + if argv.Delete != "" { me.forge.DeleteByGoPath(argv.Delete) me.forge.SetConfigSave(true) |
