summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-11 03:42:29 -0500
committerJeff Carr <[email protected]>2025-10-11 04:32:34 -0500
commit8561ed36abf865c261184dea856c42c20f01d155 (patch)
tree4f43330b8d1157c4f39475d4056e6e479a43e415 /argv.go
parent4a20397ed093cb4308e25c1a46ecce69bc0ffbc4 (diff)
add verify and a bunch of other stuff.v0.0.18v0.0.17
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index 2fde2f2..f1e54ee 100644
--- a/argv.go
+++ b/argv.go
@@ -20,6 +20,7 @@ type args struct {
List *EmptyCmd `arg:"subcommand:list" help:"show the packages"`
Walk *WalkCmd `arg:"subcommand:walk" help:"walk the filesystem for new .deb files"`
Update *EmptyCmd `arg:"subcommand:oldway" help:"the old code to update the apt repo"`
+ Verify *EmptyCmd `arg:"subcommand:verify" help:"verify the pb is accurate and doesn't have errors"`
Incoming *IncomingCmd `arg:"subcommand:incoming" help:"handle the incoming directory"`
MakeDists *EmptyCmd `arg:"subcommand:makedists" help:"make debian mirrors/dists files for 'apt update'"`
DryRun bool `arg:"--dry-run" help:"only show what would be packaged"`
@@ -51,7 +52,7 @@ func (args) Appname() string {
}
func (a args) DoAutoComplete(pb *prep.Auto) {
- base := []string{"--version", "oldway", "--dry-run", "--force", "incoming", "walk", "list", "makedists"}
+ base := []string{"--version", "oldway", "--dry-run", "--force", "incoming", "walk", "list", "makedists", "verify"}
if pb.Cmd == "" {
pb.Autocomplete3(base)