Change exit status (0: OK, 1: No match, 2: Error/Interrupted)

A la grep. Close #345
This commit is contained in:
Junegunn Choi committed 2015-09-15 13:21:51 +09:00
1 parent fa2f9f1f21
commit 65d9d416b4
6 files changed
+76 -20

No files matched your search

+6
View File
@@ -47,3 +47,9 @@ const (
EvtHeader
EvtClose
)
const (
exitOk = 0
exitNoMatch = 1
exitError = 2
)