# olef why

Source: https://olef.dev/docs/reference/cli/why

Generated from **Olef 3.0.2**. [All commands](https://olef.dev/docs/reference/commands) · [Capabilities and requirements](https://olef.dev/docs/reference/capabilities)

These entries describe available commands, not a sequence to run. Check prerequisites before changing app, device, or cloud state. Global options are listed in the [command catalog](https://olef.dev/docs/reference/commands#global-options).

## olef why

One bounded triage read: what just went wrong? Fuses the last crash/ANR, recent error logs, the current screen, and network failures into a verdict with evidence and next steps

```bash
olef why --help
```

Output: **json**.

| Argument | Description |
| --- | --- |
| `--app <APP>` | App package or config alias to focus on (default: the configured app) |
| `--last <LAST>` | How far back to look, e.g. 120s, 5m (default 120s) Default: `120s`. |
| `--json` | Accepted for compatibility; output is always JSON. |
