Difference between revisions of "Pc2submit"

From PC2wiki
Jump to: navigation, search
m (initial article)
 
m (Usage: added cat and small change)
Line 2: Line 2:
  
 
==Usage==
 
==Usage==
 +
 +
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 [--help|--list|--listruns|--check] --login loginname [--password password] filename [problem [language]]
Line 22: Line 28:
 
   
 
   
 
  $Id: Submitter.java 2312 2011-09-07 18:52:57Z laned $
 
  $Id: Submitter.java 2312 2011-09-07 18:52:57Z laned $
 +
 +
 +
[[Category:Version 9.3]]
  
 
==See Also==
 
==See Also==

Revision as of 12:00, 7 January 2012

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

Usage

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