projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5664cae
)
(main): Don't stop processing arguments upon the first invalid one.
author
Jim Meyering
<jim@meyering.net>
Sat, 1 Oct 2005 08:01:25 +0000
(08:01 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 1 Oct 2005 08:01:25 +0000
(08:01 +0000)
src/factor.c
patch
|
blob
|
history
diff --git
a/src/factor.c
b/src/factor.c
index
f1e5655
..
6578a77
100644
(file)
--- a/
src/factor.c
+++ b/
src/factor.c
@@
-211,10
+211,10
@@
main (int argc, char **argv)
else
{
int i;
+ ok = true;
for (i = optind; i < argc; i++)
if (! print_factors (argv[i]))
- usage (EXIT_FAILURE);
- ok = true;
+ ok = false;
}
exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);