summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
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)