Subversion Repositories Projects

Rev

Rev 1611 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1611 Rev 1623
Line 235... Line 235...
235
                }
235
                }
236
        }
236
        }
237
 
237
 
238
        static void help() {
238
        static void help() {
239
                System.err
239
                System.err
240
                .println("Usage: UniversalConfigurator r [parameter set number to read from] [filename to write to]");
240
                .println("Usage: ParameterSetConfigurator r [parameter set number to read from] [filename to write to]");
241
System.err
241
System.err
242
                .println("Usage: UniversalConfigurator w [parameter set number to write to] [filename to read from]");
242
                .println("Usage: ParameterSetConfigurator w [parameter set number to write to] [filename to read from]");
243
System.exit(-1);
243
System.exit(-1);
244
        }
244
        }
245
       
245
       
246
        public static void main(String[] args) throws IOException {
246
        public static void main(String[] args) throws IOException {
247
                if (!"r".equals(args[0]) && !"w".equals(args[0])) help();
247
                if (!"r".equals(args[0]) && !"w".equals(args[0])) help();