diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -28,6 +28,7 @@ type args struct { Rdate *EmptyCmd `arg:"subcommand:rdate" help:"standard rdate"` Zoo *EmptyCmd `arg:"subcommand:zoo" help:"WIT Private Cloud info"` Upgrade *UpgradeCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"` + Publish *EmptyCmd `arg:"subcommand:publish" help:"publish packages"` RepoMap string `arg:"--repomap" help:"location of the repomap"` DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` Install bool `arg:"--install" help:"go install the binaries first"` @@ -118,7 +119,7 @@ func (args) Appname() string { } func (a args) DoAutoComplete(pb *prep.Auto) { - base := []string{"--version", "build", "upgrade", "git", "--force"} + base := []string{"--version", "build", "upgrade", "git", "publish", "--force"} if _, err := fhelp.CheckCmd("zood"); err == nil { base = append(base, "zoo") } |
