From 60d141ea265ca1559b80102c8efd026442f2b460 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 2 Jul 2014 15:12:20 -0400 Subject: [PATCH] next-note: no new line --- cmd/next-note/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/next-note/main.go b/cmd/next-note/main.go index f547b20..6270f19 100644 --- a/cmd/next-note/main.go +++ b/cmd/next-note/main.go @@ -20,7 +20,8 @@ func main() { flag.Parse() if *flDate { - fmt.Println(time.Now().Format(time.UnixDate)) + // this intentionally has no '\n' + fmt.Printf("== %s", time.Now().Format(time.UnixDate)) return }