~rbn/packagetools

c686e535b239c29e4da6af9ccfe416cc5a284cc8 — Ruben Schuller 1 year, 9 months ago 5b8b283 0.0.2
add debug flag
1 files changed, 1 insertions(+), 0 deletions(-)

M packagetools.go
M packagetools.go => packagetools.go +1 -0
@@ 91,6 91,7 @@ func main() {
	availableFlag := flag.Bool("available", false, "list repository packages")
	listFlag := flag.Bool("list", false, "list installed packages")
	upgradeFlag := flag.Bool("upgrade", false, "list upgradeable packages")
	flag.BoolVar(&debug, "debug", false, "debug output")

	flag.Usage = func() {
		fmt.Fprintf(flag.CommandLine.Output(), "Usage of %s:\n", os.Args[0])