From 3c3c6680d3396896aadce05334ca798ccd431804 Mon Sep 17 00:00:00 2001
From: "ivanpe@chromium.org" <ivanpe@chromium.org>
Date: Mon, 22 Jun 2015 21:21:40 +0000
Subject: [PATCH] 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
---
 src/tools/linux/symupload/sym_upload.cc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/tools/linux/symupload/sym_upload.cc b/src/tools/linux/symupload/sym_upload.cc
index 09e82ca9..82a8230b 100644
--- a/src/tools/linux/symupload/sym_upload.cc
+++ b/src/tools/linux/symupload/sym_upload.cc
@@ -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;