Cosmetic changes
authorMikael Berthe <mikael@lilotux.net>
Sun, 14 Oct 2018 15:23:11 +0200
changeset 38 25db238bf03f
parent 37 a7662fbfbe02
child 39 24ca1bf4a0bf
Cosmetic changes
goduf.go
--- a/goduf.go	Sun Oct 14 15:21:46 2018 +0200
+++ b/goduf.go	Sun Oct 14 15:23:11 2018 +0200
@@ -51,6 +51,7 @@
 	partialChecksum
 )
 
+// Options contains the command-line flags
 type Options struct {
 	Summary     bool
 	OutToJSON   bool
@@ -579,11 +580,10 @@
 	flag.BoolVar(&options.Summary, "summary", false, "Do not display the duplicate list")
 	flag.BoolVar(&options.Summary, "s", false, "See --summary")
 	flag.BoolVar(&options.SkipPartial, "skip-partial", false, "Skip partial checksums")
-	flag.IntVar(&myLog.verbosity, "verbosity", 0,
-		"Set verbosity level (1-6)")
+	flag.BoolVar(&options.IgnoreEmpty, "no-empty", false, "Ignore empty files")
+	flag.IntVar(&myLog.verbosity, "verbosity", 0, "Set verbosity level (1-6)")
 	flag.IntVar(&myLog.verbosity, "vl", 0, "See verbosity")
-	timings := flag.Bool("timings", false, "Set detailed log timings")
-	flag.BoolVar(&options.IgnoreEmpty, "no-empty", false, "Ignore empty files")
+	timings := flag.Bool("timings", false, "Show detailed log timings")
 
 	flag.Parse()