commit 3e2470e52807e476785761f7547886a9d9a1c6cc
parent 1ec045fddbfb03d390c581ed8485652b0b3c41f4
Author: Brian C. Lane <bcl@brianlane.com>
Date: Sun, 23 Jun 2019 08:50:23 -0700
Remove unused debug option
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/mpd-status.go b/mpd-status.go
@@ -33,7 +33,6 @@ type cmdlineArgs struct {
Volume bool // Show volume percentage 0-100
Elapsed bool // Show the duration:elapsed time
Width int // Maximum width
- Debug bool // Output debugging info
}
/* commandline defaults */
@@ -41,7 +40,6 @@ var cfg = cmdlineArgs{
Volume: false,
Elapsed: false,
Width: 60,
- Debug: false,
}
/* parseArgs handles parsing the cmdline args and setting values in the global cfg struct */
@@ -49,7 +47,6 @@ func parseArgs() {
flag.BoolVar(&cfg.Volume, "volume", cfg.Volume, "Include the volume percentage 0-100")
flag.BoolVar(&cfg.Elapsed, "elapsed", cfg.Elapsed, "Include the duration:elapsed time")
flag.IntVar(&cfg.Width, "width", cfg.Width, "Maximum width of output")
- flag.BoolVar(&cfg.Debug, "debug", cfg.Debug, "Output debug information")
flag.Parse()
}