pexec

execute a program from standard input
git clone git://git.2f30.org/pexec.git
Log | Files | Refs

commit 524005977c48d28fcb1ab5d6f7eb5c07ca07c259
parent 9f0c454febc9b2fc4d1f916276ffae1ede4006a3
Author: sin <sin@2f30.org>
Date:   Fri, 23 Mar 2018 12:09:51 +0000

Print usage for unknown options

Diffstat:
pexec.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/pexec.c b/pexec.c @@ -97,6 +97,8 @@ main(int argc, char *argv[]) case 'i': iflag = 1; break; + default: + usage(); } ARGEND if (argc == 0)