Mercurial > hg > mep
comparison Experiment.java @ 9:46c6d604e32c
Add extra command line options to help message.
Ignore-this: 45274c510028342470749e79d106cef
author | Marcus Pearce <m.pearce@gold.ac.uk> |
---|---|
date | Fri, 04 Nov 2011 16:53:17 +0000 |
parents | 235484b93707 |
children | 3dd7636ca811 |
comparison
equal
deleted
inserted
replaced
8:235484b93707 | 9:46c6d604e32c |
---|---|
1 /*============================================================================= | 1 /*============================================================================= |
2 * File: Experiment.java | 2 * File: Experiment.java |
3 * Author: Marcus Pearce <m.pearce@gold.ac.uk> | 3 * Author: Marcus Pearce <m.pearce@gold.ac.uk> |
4 * Created: <2007-02-14 11:28:27 marcusp> | 4 * Created: <2007-02-14 11:28:27 marcusp> |
5 * Time-stamp: <2011-07-19 15:25:51 marcusp> | 5 * Time-stamp: <2011-11-04 16:52:49 marcusp> |
6 *============================================================================= | 6 *============================================================================= |
7 */ | 7 */ |
8 | 8 |
9 import java.io.*; | 9 import java.io.*; |
10 import javax.swing.UIManager; | 10 import javax.swing.UIManager; |
177 public static void main(String[] args) { | 177 public static void main(String[] args) { |
178 if (args.length == 0) { | 178 if (args.length == 0) { |
179 System.out.println("Usage: " + "\t" + "java Experiment " + | 179 System.out.println("Usage: " + "\t" + "java Experiment " + |
180 "<show clock?> <clock units> <number of units> " + | 180 "<show clock?> <clock units> <number of units> " + |
181 "<midi device> " + | 181 "<midi device> " + |
182 "<scale length> <low anchor> <high anchor>" + | 182 "<scale length> <low anchor> <high anchor> " + |
183 "<midi file directory> <instructions file>"); | 183 "<midi file directory> <instructions file> " + |
184 "<familiarity>" + "<pleasantness>" + "<questionnaire>"); | |
184 System.exit(1); | 185 System.exit(1); |
185 } | 186 } |
186 | 187 |
187 // Parse Arguments | 188 // Parse Arguments |
188 int n = 0; | 189 int n = 0; |