From f78554ebda770e83dab7311af537da2968ab2ef0 Mon Sep 17 00:00:00 2001 From: wangchao <wangchao> Date: Tue, 27 Jan 2004 04:13:12 +0000 Subject: [PATCH] b=2552 r=shaver Don't allow batchfile contain --merge, --input and --output for lmc --batch batchfile. --- lustre/utils/lmc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/utils/lmc b/lustre/utils/lmc index 1f2533ab14..d668848a20 100755 --- 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) -- GitLab