Difference between revisions of "Pc2submit"

From PC2wiki
Jump to: navigation, search
m (Usage: added cat and small change)
m (See Also: add command line link)
Line 34: Line 34:
==See Also==
==See Also==
* [[PC² scripts]]
* [[PC² scripts]]
* PC² [[Property]] file, -F [[Command Line]] option
[[Category:Version 9.3]]
[[Category:Version 9.3]]

Revision as of 13:19, 7 January 2012

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


To produce usage use the command

pc2report --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