# HG changeset patch # User jittat # Date 2008-03-12 05:51:14 # Node ID 914f6c15de62778d3e41e0730f66654c396677a5 # Parent 21e4592686728bd5ac24607900e3c1d342adf038 [grader] fix an option bug for import_problem git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@110 6386c4cd-e34a-4fa8-8920-d93eb39b512e diff --git a/import_problem b/import_problem --- a/import_problem +++ b/import_problem @@ -21,7 +21,7 @@ end def process_options(options) - i = 3 + i = 4 while ii+1 @@ -38,7 +38,7 @@ SCRIPT_DIR = File.dirname(__FILE__) # print usage -if ARGV.length < 4 +if (ARGV.length < 4) or (ARGV[3][0,1]=="-") puts <