Difference between revisions of "Pc2submit"

From PC2wiki
Jump to: navigation, search
m (See Also: add command line link)
m (Usage: fixed error)
Line 5: Line 5:
 
To produce usage use the command
 
To produce usage use the command
  
  pc2report --help
+
  pc2submit--help
  
 
For example
 
For example

Revision as of 16:31, 8 January 2012

pc2submit and pc2submit shows contest information and allow a user to submit a Run.

Usage

To produce usage use the command

pc2submit--help

For example

Usage Submitter [--help|--list|--listruns|--check] --login loginname [--password password] filename [problem [language]]
Usage Submitter [-F propfile] [--help|--list|--listruns|--check] filename [problem [language]]

Submit filename for problem and language.  If problem or language
not specified the program will guess which problem and language
based on the file name.

--help   this listing

--check  check parameters, list filename, problem and language

--list   list problem and languages

--listruns list run info for the user

On success exit code will be 0
On failure exit code will be non-zero

$Id: Submitter.java 2312 2011-09-07 18:52:57Z laned $

See Also