sbase

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

commit 1851c02a9599f6a4d15eab979609a90e71aca69d
parent aff51008eaa21169c91cdd99c4c22c21fd8a85e9
Author: sin <sin@2f30.org>
Date:   Thu, 12 Dec 2013 13:29:30 +0000

Show usage instead of exiting silently on an invalid option

Diffstat:
Mcp.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cp.c b/cp.c @@ -22,7 +22,7 @@ main(int argc, char *argv[]) cp_rflag = true; break; default: - exit(EXIT_FAILURE); + usage(); } ARGEND; if (argc < 2)