{"record":{"id":"ac43a7c129b6da9d","repo":"tinyhumansai/openhuman","slug":"unknown-dump-all-arg-other","errorCode":null,"errorMessage":"unknown dump-all arg: {other}","messagePattern":"unknown dump-all arg: (.+?)","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/core/agent_cli.rs","lineNumber":101,"sourceCode":"                    args.get(i + 1)\n                        .ok_or_else(|| anyhow!(\"missing value for --model\"))?\n                        .clone(),\n                );\n                i += 2;\n            }\n            \"-v\" | \"--verbose\" => {\n                verbose = true;\n                i += 1;\n            }\n            \"-h\" | \"--help\" => {\n                println!(\"Usage: openhuman agent dump-all --out <dir> [--workspace <path>] [--model <name>] [-v]\");\n                println!();\n                println!(\"Render every registered agent's turn-1 system prompt into <dir>.\");\n                println!(\"`integrations_agent` is expanded into one file per currently-connected\");\n                println!(\"Composio toolkit; if no toolkit is connected, it is skipped.\");\n                std::process::exit(0);\n            }\n            other => return Err(anyhow!(\"unknown dump-all arg: {other}\")),\n        }\n    }\n    Ok(DumpAllFlags {\n        out: out.ok_or_else(|| anyhow!(\"--out <dir> is required\"))?,\n        workspace,\n        model,\n        verbose,\n    })\n}\n\nfn run_dump_all(args: &[String]) -> Result<()> {\n    let flags = parse_dump_all_flags(args)?;\n    init_quiet_logging(flags.verbose);\n\n    log::debug!(\n        \"[agent-cli] run_dump_all entry: out={} workspace={:?} model={:?}\",\n        flags.out.display(),\n        flags.workspace,","sourceCodeStart":83,"sourceCodeEnd":119,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/core/agent_cli.rs#L83-L119","documentation":"Flag parsing in parse_dump_all_flags: a token matched none of the accepted flags (--out/-o, --workspace/-w, --model/-m, -v/--verbose, -h/--help), so the catch-all `other` arm rejects it. Typically a typo'd flag or an unsupported option being passed to dump-all.","triggerScenarios":"Thrown at src/core/agent_cli.rs:101 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Run `openhuman agent dump-all -h` to see accepted flags","Fix the misspelled flag name","Remove options that belong to dump-prompt, not dump-all"],"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-23T08:17:48.524Z"}