Reconfigured options for sym_upload to not treat h and ? flags as invalid options.

I'm submitting this on behalf of Andrew Liu.

R=mmandlis@chromium.org

Review URL: https://codereview.chromium.org/1196733004

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1462 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ivanpe@chromium.org 2015-06-22 21:21:40 +00:00
parent 11004944ad
commit 3c3c6680d3

View file

@ -192,6 +192,11 @@ SetupOptions(int argc, const char *argv[], Options *options) {
while ((ch = getopt(argc, (char * const *)argv, "u:v:x:h?")) != -1) {
switch (ch) {
case 'h':
case '?':
Usage(argc, argv);
exit(0);
break;
case 'u':
options->proxy_user_pwd = optarg;
break;