Skip to content

Commit

Permalink
기본적으로 전달의 데이터를 체크한다.
Browse files Browse the repository at this point in the history
  • Loading branch information
khw7096 committed Apr 3, 2019
1 parent 0c75976 commit de554e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-hours.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ func thisMonth() (string, string) {

func main() {
since, before := beforeMonth()
sincePtr := flag.String("since", since, "since(after) date")
beforePtr := flag.String("before", before, "before date")
sincePtr := flag.String("since", since+" 00:00:00 "+timeZoneOffset(), "since(after) date")
beforePtr := flag.String("before", before+" 23:59:59 "+timeZoneOffset(), "before date")
authorPtr := flag.String("author", "", "author name") // git option : --author="\(Adam\)\|\(Jon\)"
debugPtr := flag.Bool("debug", false, "debug mode")
helpPtr := flag.Bool("help", false, "print help")
Expand Down

0 comments on commit de554e4

Please sign in to comment.