Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb92b63
)
statmany error if one of "-els" isn't given
author
phil
<phil>
Thu, 3 Jun 2004 15:12:00 +0000
(15:12 +0000)
committer
phil
<phil>
Thu, 3 Jun 2004 15:12:00 +0000
(15:12 +0000)
lustre/tests/statmany.c
patch
|
blob
|
history
diff --git
a/lustre/tests/statmany.c
b/lustre/tests/statmany.c
index
7d4d2c9
..
9b18252
100644
(file)
--- a/
lustre/tests/statmany.c
+++ b/
lustre/tests/statmany.c
@@
-88,6
+88,11
@@
int main(int argc, char ** argv)
}
}
+ if (mode == 0) {
+ fprintf(stderr, "one of '-l', '-e', or '-s' must be supplied.\n");
+ usage(prog, stderr);
+ }
+
if (optind + 2 + (length == LONG_MAX) != argc) {
fprintf(stderr, "missing filenamebase, total_files, or iterations\n");
usage(prog, stderr);