google-code-export / hyk-proxy

Automatically exported from code.google.com/p/hyk-proxy
2 stars 0 forks source link

上傳出錯 #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
出現時,出現了以下的錯誤:

Bad argument: Expected an action: [update, request_logs, rollback, update_indexe
s, update_cron, update_dos, update_queues, cron_info, help, version]
usage: AppCfg [options] <action> <app-dir> [<output-file>]

Action must be one of:
  help: Print help for a specific action.
  request_logs: Write request logs in Apache common log format.
  rollback: Rollback an in-progress update.
  update: Create or update an app version.
  update_indexes: Update application indexes.
  update_cron: Update application cron jobs.
  update_queues: Update application task queue definitions.
  update_dos: Update application DoS protection configuration.
  version: Prints version information.
  cron_info: Displays times for the next several runs of each cron job.
Use 'help <action>' for a detailed description.

options:
  -h, --help            Show the help message and exit.
  -s SERVER, --server=SERVER
                        The server to connect to.
  -e EMAIL, --email=EMAIL
                        The username to use. Will prompt if omitted.
  -H HOST, --host=HOST  Overrides the Host header sent with all RPCs.
  -p PROXYHOST[:PORT], --proxy=PROXYHOST[:PORT]
                        Proxies requests through the given proxy server.
                        If --proxy_https is also set, only HTTP will be
                        proxied here, otherwise both HTTP and HTTPS will.
  --proxy_https=PROXYHOST[:PORT]
                        Proxies HTTPS requests through the given proxy server.
  --sdk_root=root       Overrides where the SDK is located.
  --passin              Always read the login password from stdin.
  --insecure            Do not use HTTPS to communicate with the Admin Console.
  --enable_jar_splitting
                        Split large jar files (> 10M) into smaller fragments.
  --jar_splitting_excludes=SUFFIXES
                        When --enable-jar-splitting is set, files that match
                        the list of comma separated SUFFIXES will be excluded
                        from all jars.
  --retain_upload_dir
                        Do not delete temporary directory used in uploading.
  --compile_encoding
                        The character encoding to use when compiling JSPs.
  -n NUM_DAYS, --num_days=NUM_DAYS
                        Number of days worth of log data to get. The cut-off
                        point is midnight UTC. Use 0 to get all available
                        logs. Default is 1.
  --severity=SEVERITY   Severity of app-level log messages to get. The range
                        is 0 (DEBUG) through 4 (CRITICAL). If omitted, only
                        request logs are returned.
  -a, --append          Append to existing file.
  -n NUM_RUNS, --num_runs=NUM_RUNS
                        Number of scheduled execution times to compute

Original issue reported on code.google.com by fchypz...@gmail.com on 9 Nov 2010 at 12:55

GoogleCodeExporter commented 9 years ago
命令行上传时要注意输入是否正确

Original comment by yinqiwen@gmail.com on 10 Nov 2010 at 1:19

GoogleCodeExporter commented 9 years ago
用这个工具部署java项目 http://code.google.com/p/appcfgwrapper/

Original comment by elvis.w1...@gmail.com on 10 Nov 2010 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by yinqiwen@gmail.com on 11 Nov 2010 at 1:39