{"record":{"id":"7f14c7d33d3a22d8","repo":"tinyhumansai/openhuman","slug":"unknown-tui-arg-other","errorCode":null,"errorMessage":"unknown tui arg: {other}","messagePattern":"unknown tui arg: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/tui/runner.rs","lineNumber":72,"sourceCode":"            }\n            \"--last\" => {\n                use_last = true;\n                i += 1;\n            }\n            \"--no-alt-screen\" => {\n                no_alt_screen = true;\n                i += 1;\n            }\n            \"-v\" | \"--verbose\" => {\n                verbose = true;\n                i += 1;\n            }\n            \"-h\" | \"--help\" => {\n                print_help();\n                return Ok(());\n            }\n            other if other.starts_with('-') => {\n                return Err(anyhow::anyhow!(\"unknown tui arg: {other}\"));\n            }\n            prompt => {\n                prompt_parts.push(prompt.to_string());\n                i += 1;\n            }\n        }\n    }\n\n    // File-only logging — never stderr while the TUI owns the terminal.\n    let data_dir = resolve_data_dir();\n    let log_dir = crate::core::logging::init_for_tui(&data_dir, verbose);\n    log::info!(\n        \"[tui] starting tabbed terminal UI (thread={:?} new={} logs={:?})\",\n        thread_id,\n        force_new,\n        log_dir\n    );\n","sourceCodeStart":54,"sourceCodeEnd":90,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/tui/runner.rs#L54-L90","documentation":"TUI argument loop hit a dash-prefixed token that matches none of the known flags (--thread, --new, --resume, --last, --no-alt-screen, -v, -h); a typo'd or unsupported option. Startup aborts immediately.","triggerScenarios":"Thrown at src/tui/runner.rs:72 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check flag spelling against `openhuman tui -h`","Remove the unsupported option"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}