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:
86fb040
)
b=2552
author
wangchao
<wangchao>
Tue, 27 Jan 2004 04:13:12 +0000
(
04:13
+0000)
committer
wangchao
<wangchao>
Tue, 27 Jan 2004 04:13:12 +0000
(
04:13
+0000)
r=shaver
Don't allow batchfile contain --merge, --input and --output for lmc --batch batchfile.
lustre/utils/lmc
patch
|
blob
|
history
diff --git
a/lustre/utils/lmc
b/lustre/utils/lmc
index
1f2533a
..
d668848
100755
(executable)
--- a/
lustre/utils/lmc
+++ b/
lustre/utils/lmc
@@
-1081,6
+1081,9
@@
def main():
for cmd in batchCommands:
try:
options, args = cl.parse(string.split(cmd))
+ if options.merge or options.input or options.output:
+ print "The batchfile should not contain --merge, --input or --output."
+ sys.exit(1)
do_command(gen, lustre, options, args)
except OptionError, e:
panic(cmd, e)