diff options
| author | Jeff Carr <[email protected]> | 2025-10-11 11:17:10 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-11 11:17:10 -0500 | 
| commit | 63902ff78264507562b6bc31026aead01f3ae331 (patch) | |
| tree | 32bc969646df76227cde96abf8c100b2c587f973 | |
| parent | c8999c2213d8c18783eb99136ac1dd312a83bdb0 (diff) | |
okay nowv0.25.79
| -rw-r--r-- | argv.go | 1 | ||||
| -rw-r--r-- | doPatch.go | 7 | 
2 files changed, 8 insertions, 0 deletions
@@ -108,6 +108,7 @@ type CleanDevelCmd struct {  type PatchCmd struct {  	Apply  bool `arg:"--apply"                   help:"attempt to apply any new patches"` +	Show   bool `arg:"--show"                    help:"show the current patches"`  	Submit bool `arg:"--resubmit"                help:"resubmit your git commits"`  } @@ -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()  	}  | 
