summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/doPatch.go b/doPatch.go
index 8e2afbc..ef43095 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -51,6 +51,13 @@ func doPatch() (string, error) {
me.curpatches.Save()
}
+ // just show the table and exit
+ if argv.Patch.Show {
+ footer := me.curpatches.PrintTable()
+ return "all current patches: " + footer, nil
+ }
+
+ // send them onward again
if argv.Patch.Submit {
return doPatchSubmit()
}