From 80f0215d7420c9bcec1f4f96369baf40b1f4913c Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 15 Sep 2015 11:35:49 +0900 Subject: [PATCH] Fixing return code --- md2vim.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/md2vim.go b/md2vim.go index 0b789f7..19f7294 100644 --- a/md2vim.go +++ b/md2vim.go @@ -53,7 +53,7 @@ func main() { args := flag.Args() if len(args) < 2 { flag.Usage() - os.Exit(-1) + os.Exit(2) } input, err := ioutil.ReadFile(args[0])