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

Side by Side Diff: tools/crashpad_database_util.ad

Issue 1395653002: crashpad_database_util: Don’t create a database unless explicitly asked (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: For checkin Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « handler/main.cc ('k') | tools/crashpad_database_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Crashpad Authors. All rights reserved. 1 // Copyright 2015 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 23 matching lines...) Expand all
34 When this program is requested to both show and set information in a single 34 When this program is requested to both show and set information in a single
35 invocation, all “show” operations will be completed prior to beginning any “set” 35 invocation, all “show” operations will be completed prior to beginning any “set”
36 operation. 36 operation.
37 37
38 Programs that use the Crashpad client library directly will not normally use 38 Programs that use the Crashpad client library directly will not normally use
39 this tool, but may use the database through the programmatic interfaces in the 39 this tool, but may use the database through the programmatic interfaces in the
40 client library. This tool exists to allow developers to manipulate a Crashpad 40 client library. This tool exists to allow developers to manipulate a Crashpad
41 database. 41 database.
42 42
43 == Options 43 == Options
44 *--create*::
45 Creates the database identified by *--database* if it does not exist, provided
46 that the parent directory of 'PATH' exists.
47
44 *-d*, *--database*='PATH':: 48 *-d*, *--database*='PATH'::
45 Use 'PATH' as the path to the Crashpad crash report database. This option is 49 Use 'PATH' as the path to the Crashpad crash report database. This option is
46 required. If the database does not exist, it will be created, provided that the 50 required. The database must already exist unless *--create* is also specified.
47 parent directory of 'PATH' exists.
48 51
49 *--show-client-id*:: 52 *--show-client-id*::
50 Show the client ID stored in the database’s settings. The client ID is formatted 53 Show the client ID stored in the database’s settings. The client ID is formatted
51 as a UUID. The client ID is set when the database is created. 54 as a UUID. The client ID is set when the database is created.
52 man_link:crashpad_handler[8] retrieves the client ID and stores it in crash 55 man_link:crashpad_handler[8] retrieves the client ID and stores it in crash
53 reports as they are written. 56 reports as they are written.
54 57
55 *--show-uploads-enabled*:: 58 *--show-uploads-enabled*::
56 Show the status of the uploads-enabled bit stored in the database’s settings. 59 Show the status of the uploads-enabled bit stored in the database’s settings.
57 man_link:crashpad_handler[8] does not upload reports when this bit is false. 60 man_link:crashpad_handler[8] does not upload reports when this bit is false.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 Success. 154 Success.
152 155
153 *1*:: 156 *1*::
154 Failure, with a message printed to the standard error stream. 157 Failure, with a message printed to the standard error stream.
155 158
156 == See Also 159 == See Also
157 160
158 man_link:crashpad_handler[8] 161 man_link:crashpad_handler[8]
159 162
160 include::../doc/support/man_footer.ad[] 163 include::../doc/support/man_footer.ad[]
OLDNEW
« no previous file with comments | « handler/main.cc ('k') | tools/crashpad_database_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698