mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-26 17:25:04 +01:00
Consistently call BaseName() in various Usage() functions.
Make various tools print just their names as part of the usage instructions, rather than the full path. Also fix a missing space in the dump_syms usage output. Change-Id: I2b796678cd47e7dbabcc03df2b57cdc3420c008c Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2787678 Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
3bea2815bf
commit
c484031f1f
9 changed files with 55 additions and 22 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "common/path_helper.h"
|
||||
#include "common/scoped_ptr.h"
|
||||
#include "google_breakpad/processor/minidump.h"
|
||||
#include "processor/logging.h"
|
||||
|
|
@ -233,7 +234,7 @@ Usage(int argc, char *argv[], bool error) {
|
|||
" <minidump> should be a minidump.\n"
|
||||
" -x:\t Display memory in a hexdump like format\n"
|
||||
" -h:\t Usage\n",
|
||||
argv[0]);
|
||||
google_breakpad::BaseName(argv[0]).c_str());
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue