Skip to content

Commit 5b15dac

Browse files
committed
csdiff.1,csgrep.1: document exit status
Fixes: https://github.com/kdudka/csdiff/issues/3 Closes: https://github.com/kdudka/csdiff/pull/4
1 parent 9f30ae7 commit 5b15dac

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

csdiff.h2m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
[NAME]
22
csdiff - take two lists of defects and output either added or fixed ones
3+
4+
[EXIT STATUS]
5+
csdiff exits with status 0 if arguments are valid and input files are parsed
6+
successfully. It does not matter whether any defects were matched or not.

csgrep.h2m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[NAME]
22
csgrep - filter the list of defects by the specified regex-based predicates
33

4+
[EXIT STATUS]
5+
csgrep exits with status 0 if arguments are valid and input files are parsed
6+
successfully. It does not matter whether any defects were matched or not.
7+
48
[EXAMPLE - CHECKERS, EVENTS, MESSAGES]
59
.nf
610
Error: FORWARD_NULL (CWE-476):

0 commit comments

Comments
 (0)