release: 0.2

- fix inplace arg
- follow symlinks by default
- reverse flag
- quiet flag
- try chown/chmod on unix
This commit is contained in:
2020-04-27 14:35:10 +03:00
parent 294a89ba74
commit 702cd21256
10 changed files with 144 additions and 43 deletions

View File

@ -16,6 +16,14 @@ var (
verbose *log.Logger = devNull
)
func SetQuiet(enabled bool) {
if enabled {
stdout = devNull
stderr = devNull
verbose = devNull
}
}
func SetVerbose(enabled bool) {
if enabled {
verbose = stderr