Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: src/tools/linux/symupload/sym_upload.cc

Issue 1196733004: Reconfigured options for sym_upload to not treat h and ? flags as invalid options. (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tools/linux/symupload/sym_upload.cc
===================================================================
--- src/tools/linux/symupload/sym_upload.cc (revision 1458)
+++ src/tools/linux/symupload/sym_upload.cc (working copy)
@@ -192,6 +192,11 @@
while ((ch = getopt(argc, (char * const *)argv, "u:v:x:h?")) != -1) {
switch (ch) {
+ case 'h':
+ case '?':
+ Usage(argc, argv);
+ exit(0);
+ break;
mmandlis 2015/06/22 16:51:59 nit - do you really need the "break;" after "exit(
ivanpe 2015/06/22 21:18:10 I think this is a good safely practice so I'm fine
case 'u':
options->proxy_user_pwd = optarg;
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698