From 680896480d284b0fcab986433241fec6be0368e6 Mon Sep 17 00:00:00 2001 From: Sinuhe Tellez Date: Fri, 15 May 2020 14:00:27 -0400 Subject: [PATCH] update change log fix debug flag --- CHANGELOG.md | 5 +++++ main.go | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a99dd7..b2587e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.0.4] - 2020-05-15 +### Added +- debug flag (idea from @clash04) +- comic support thanks to @clash04 +- fix hrel that didnt allow the download. (found the issue @clash04) ## [0.0.3] - 2019-03-10 ### Added diff --git a/main.go b/main.go index 386d280..a7f983d 100644 --- a/main.go +++ b/main.go @@ -63,8 +63,8 @@ func main() { flag.Parse() - if *debug { - log.SetOutput(os.Stdout) + if !*debug { + log.SetOutput(ioutil.Discard) } fmt.Println(startValues())