projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dbc03e
)
Do not warn when fewer than two arguments are provided.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Fri, 20 Jul 2007 17:39:59 +0000
(10:39 -0700)
committer
Michael Vrable
<mvrable@turin.ucsd.edu>
Fri, 20 Jul 2007 17:39:59 +0000
(10:39 -0700)
It used to be that a source and destination had to be provided as the last
two arguments. The use of the --dest= option now makes that not true, so
don't print a usage message and exit when only a single source is provided.
scandir.cc
patch
|
blob
|
history
diff --git
a/scandir.cc
b/scandir.cc
index
325a7c9
..
dba840d
100644
(file)
--- a/
scandir.cc
+++ b/
scandir.cc
@@
-617,11
+617,6
@@
int main(int argc, char *argv[])
}
}
- if (argc < optind + 2) {
- usage(argv[0]);
- return 1;
- }
-
searches.push_back(".");
if (optind == argc) {
add_include(".");