sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit c0f60a6f3d0b5d4ce4fb1ee5cb32442eac1e08c6
parent 572dcc2b8397b149fab16a2e885598b59691ad47
Author: Robert Ransom <rransom.8774@gmail.com>
Date:   Sun, 20 May 2012 12:57:58 +0000

nl: Return 2 on usage error
Diffstat:
Mnl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nl.c b/nl.c @@ -36,7 +36,7 @@ main(int argc, char *argv[]) sep = optarg; break; default: - exit(EXIT_FAILURE); + exit(2); } if(optind == argc) nl(stdin);