summaryrefslogtreecommitdiff
path: root/doDirty.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-28 17:03:56 -0600
committerJeff Carr <[email protected]>2025-01-28 17:03:56 -0600
commit51ec39d1579c6bd89d6c5c38a1ff2879c37d3d03 (patch)
treeee793a1a3c0e909e200e145a5e8a59587b81ea1a /doDirty.go
parent7402aaded7b9f9587eb5ba863b732c9c9e8ee9fe (diff)
cleanup argv handling. go-arg saves the day
Diffstat (limited to 'doDirty.go')
-rw-r--r--doDirty.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/doDirty.go b/doDirty.go
index 12a48b0..e29d639 100644
--- a/doDirty.go
+++ b/doDirty.go
@@ -13,7 +13,11 @@ func doDirty() {
doCheckDirtyAndConfigSave()
me.found = new(gitpb.Repos)
findDirty()
- me.forge.PrintHumanTableDirty(me.found)
+ if argv.Verbose {
+ me.forge.PrintHumanTableDirty(me.found)
+ } else {
+ me.forge.PrintHumanTable(me.found)
+ }
}
func straightCheckDirty() int {