summaryrefslogtreecommitdiffstats
path: root/usr.bin/xargs
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/xargs')
-rw-r--r--usr.bin/xargs/xargs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/xargs/xargs.c b/usr.bin/xargs/xargs.c
index 8c4d11a..d13b23a 100644
--- a/usr.bin/xargs/xargs.c
+++ b/usr.bin/xargs/xargs.c
@@ -169,6 +169,8 @@ main(int argc, char **argv)
argc -= optind;
argv += optind;
+ if (Iflag && Jflag)
+ errx(1, "the -I and -J options may not be used together");
if (xflag && !nflag)
usage();
if (Iflag || Lflag)
OpenPOWER on IntegriCloud