From: Sergey Matveev Date: Tue, 12 Jan 2021 14:14:54 +0000 (+0300) Subject: Shorter -debug X-Git-Tag: v0.12.0~1 X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=commitdiff_plain;h=9edf579be85e74438036dbedd50dea947627fb7d Shorter -debug --- diff --git a/doc/news.texi b/doc/news.texi index 3088072..3504e46 100644 --- a/doc/news.texi +++ b/doc/news.texi @@ -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 d3209d0..bc0b79a 100644 --- 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)) diff --git a/usage.go b/usage.go index f7ca044..af660db 100644 --- 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.