summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-03 05:50:14 -0500
committerJeff Carr <[email protected]>2025-10-03 05:50:14 -0500
commit322ec42ce6da80915a80ed36f02bc6a15c238fb2 (patch)
tree145e129edf7931fa4160e23d18504fde7688998b /argv.go
parent6e30c81f54f145b5b9cd1e428eaa44f8bdc5cd81 (diff)
try to make apt install --force to work
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/argv.go b/argv.go
index 78d3b5d..a8a656f 100644
--- a/argv.go
+++ b/argv.go
@@ -42,10 +42,9 @@ type args struct {
}
type DebianCmd struct {
- DryRun bool `arg:"--dry-run" help:"only show what would be packaged"`
- Verbose bool `arg:"--verbose" help:"be loud about it"`
- Force bool `arg:"--force" help:"rebuild everything"`
- SkipInstall bool `arg:"--skip-install" help:"rebuild everything"`
+ DryRun bool `arg:"--dry-run" help:"only show what would be packaged"`
+ Verbose bool `arg:"--verbose" help:"be loud about it"`
+ Force bool `arg:"--force" help:"rebuild everything"`
}
type UpgradeCmd struct {
@@ -106,7 +105,7 @@ func (args) Appname() string {
func (a args) DoAutoComplete(pb *prep.Auto) {
if pb.Cmd == "" {
- pb.Autocomplete3([]string{"--version", "push", "build", "debian", "upgrade", "macos", "git", "rdate"})
+ pb.Autocomplete3([]string{"--version", "push", "build", "debian", "upgrade", "macos", "git", "rdate", "--force"})
} else {
pb.SubCommand(pb.Goargs...)
}