OLD | NEW |
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 == Options | 43 == Options |
44 *-d*, *--database*='PATH':: | 44 *-d*, *--database*='PATH':: |
45 Use 'PATH' as the path to the Crashpad crash report database. This option is | 45 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 | 46 required. If the database does not exist, it will be created, provided that the |
47 parent directory of 'PATH' exists. | 47 parent directory of 'PATH' exists. |
48 | 48 |
49 *--show-client-id*:: | 49 *--show-client-id*:: |
50 Show the client ID stored in the database’s settings. The client ID is formatted | 50 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. | 51 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 |
| 53 reports as they are written. |
52 | 54 |
53 *--show-uploads-enabled*:: | 55 *--show-uploads-enabled*:: |
54 Show the status of the uploads-enabled bit stored in the database’s settings. | 56 Show the status of the uploads-enabled bit stored in the database’s settings. |
55 man_link:crashpad_handler[8] does not upload reports when this bit is false. | 57 man_link:crashpad_handler[8] does not upload reports when this bit is false. |
56 This bit is false when a database is created, and is under an application’s | 58 This bit is false when a database is created, and is under an application’s |
57 control via the Crashpad client library interface. | 59 control via the Crashpad client library interface. |
58 + | 60 + |
59 See also *--set-uploads-enabled*. | 61 See also *--set-uploads-enabled*. |
60 | 62 |
61 *--show-last-upload-attempt-time*:: | 63 *--show-last-upload-attempt-time*:: |
(...skipping 17 matching lines...) Expand all Loading... |
79 *--show-all-report-info*:: | 81 *--show-all-report-info*:: |
80 With *--show-pending-reports* or *--show-completed-reports*, show all metadata | 82 With *--show-pending-reports* or *--show-completed-reports*, show all metadata |
81 for each report displayed. Without this option, only report IDs will be shown. | 83 for each report displayed. Without this option, only report IDs will be shown. |
82 | 84 |
83 *--show-report*='UUID':: | 85 *--show-report*='UUID':: |
84 Show a report from the database looked up by its identifier, 'UUID', which must | 86 Show a report from the database looked up by its identifier, 'UUID', which must |
85 be formatted in string representation per RFC 4122 §3. All metadata for each | 87 be formatted in string representation per RFC 4122 §3. All metadata for each |
86 report found via a *--show-report* option will be shown. If 'UUID' is not found, | 88 report found via a *--show-report* option will be shown. If 'UUID' is not found, |
87 the string +"not found"+ will be printed. If this program is only requested to | 89 the string +"not found"+ will be printed. If this program is only requested to |
88 show a single report and it is not found, it will treat this as a failure for | 90 show a single report and it is not found, it will treat this as a failure for |
89 the purposes of determining its exit status. | 91 the purposes of determining its exit status. This option may appear multiple |
| 92 times. |
90 | 93 |
91 *--set-report-uploads-enabled*='BOOL':: | 94 *--set-report-uploads-enabled*='BOOL':: |
92 Enable or disable report upload in the database’s settings. 'BOOL' is a string | 95 Enable or disable report upload in the database’s settings. 'BOOL' is a string |
93 representation of a boolean value, such as +"0"+ or +"true"+. | 96 representation of a boolean value, such as +"0"+ or +"true"+. |
94 + | 97 + |
95 See also *--show-uploads-enabled*. | 98 See also *--show-uploads-enabled*. |
96 | 99 |
97 *--set-last-upload-attempt-time*='TIME':: | 100 *--set-last-upload-attempt-time*='TIME':: |
98 Set the last-upload-attempt time in the database’s settings. 'TIME' is a string | 101 Set the last-upload-attempt time in the database’s settings. 'TIME' is a string |
99 representation of a time, which may be in 'yyyy-mm-dd hh:mm:ss' format, a | 102 representation of a time, which may be in 'yyyy-mm-dd hh:mm:ss' format, a |
100 numeric +time_t+ value, or the special string +"never"+. | 103 numeric +time_t+ value, or the special string +"never"+. |
101 + | 104 + |
102 See also *--show-last-upload-attempt-time*. | 105 See also *--show-last-upload-attempt-time*. |
103 | 106 |
| 107 *--new-report*='PATH':: |
| 108 Submit a new report located at 'PATH' to the database. The new report will be in |
| 109 the “pending” state. The UUID assigned to the new report will be printed. This |
| 110 option may appear multiple times. |
| 111 |
104 *--utc*:: | 112 *--utc*:: |
105 When showing times, do so in UTC as opposed to the local time zone. When setting | 113 When showing times, do so in UTC as opposed to the local time zone. When setting |
106 times, interpret ambiguous time strings in UTC as opposed to the local time | 114 times, interpret ambiguous time strings in UTC as opposed to the local time |
107 zone. | 115 zone. |
108 | 116 |
109 *--help*:: | 117 *--help*:: |
110 Display help and exit. | 118 Display help and exit. |
111 | 119 |
112 *--version*:: | 120 *--version*:: |
113 Output version information and exit. | 121 Output version information and exit. |
(...skipping 28 matching lines...) Expand all Loading... |
142 Success. | 150 Success. |
143 | 151 |
144 *1*:: | 152 *1*:: |
145 Failure, with a message printed to the standard error stream. | 153 Failure, with a message printed to the standard error stream. |
146 | 154 |
147 == See Also | 155 == See Also |
148 | 156 |
149 man_link:crashpad_handler[8] | 157 man_link:crashpad_handler[8] |
150 | 158 |
151 include::../../doc/man_footer.ad[] | 159 include::../../doc/man_footer.ad[] |
OLD | NEW |