]> Cypherpunks.ru repositories - goredo.git/commitdiff
Shorter -debug
authorSergey Matveev <stargrave@stargrave.org>
Tue, 12 Jan 2021 14:14:54 +0000 (17:14 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 12 Jan 2021 14:14:54 +0000 (17:14 +0300)
doc/news.texi
log.go
usage.go

index 3088072b2d4005416f08864f46b1b4fabc1080b0..3504e46134375d0bc8f93a7db26d943c55cfe28d 100644 (file)
@@ -1,6 +1,13 @@
 @node News
 @unnumbered News
 
+@anchor{Release 0.11.1}
+@section Release 0.11.1
+@itemize
+@item
+    @option{-debug} option renamed to shorter @option{-d}.
+@end itemize
+
 @anchor{Release 0.11.0}
 @section Release 0.11.0
 @itemize
diff --git a/log.go b/log.go
index d3209d0d0b252f345e62244b41990c3a3e58069c..bc0b79ad6d340ddd070afd65f647f151c20cad42 100644 (file)
--- a/log.go
+++ b/log.go
@@ -62,7 +62,7 @@ var (
        CNone  string = "NONE"
 
        flagNoProgress = flag.Bool("no-progress", false, fmt.Sprintf("no progress printing (%s=1), also implies -no-status", EnvNoProgress))
-       flagDebug      = flag.Bool("debug", false, fmt.Sprintf("enable debug logging (%s=1)", EnvDebug))
+       flagDebug      = flag.Bool("d", false, fmt.Sprintf("enable debug logging (%s=1)", EnvDebug))
        flagLogWait    = flag.Bool("log-wait", false, fmt.Sprintf("enable wait messages logging (%s=1)", EnvLogWait))
        flagLogLock    = flag.Bool("log-lock", false, fmt.Sprintf("enable lock messages logging (%s=1)", EnvLogLock))
        flagLogPid     = flag.Bool("log-pid", false, fmt.Sprintf("append PIDs (%s=1)", EnvLogPid))
index f7ca0443fecf00d3d6d61c64633855028b47d503..af660db5ef1636d34910da8ee00bf68e6e5462ab 100644 (file)
--- a/usage.go
+++ b/usage.go
@@ -26,7 +26,7 @@ import (
 )
 
 const (
-       Version  = "0.11.0"
+       Version  = "0.11.1"
        Warranty = `This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, version 3 of the License.