{"record":{"id":"974061f8766ec833","repo":"zed-industries/zed","slug":"the-system-specs-argument-is-not-supported-in","errorCode":null,"errorMessage":"The `--system-specs` argument is not supported in the Zed CLI, only on Zed binary.\nTo retrieve the system specs on the command line, run the following command:\n{} --system-specs","messagePattern":"The `--system-specs` argument is not supported in the Zed CLI, only on Zed binary\\.\nTo retrieve the system specs on the command line, run the following command:\n(.+?) --system-specs","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/cli/src/main.rs","lineNumber":558,"sourceCode":"        cmd.set_bin_name(file_name);\n        cmd.build();\n        crate::completions::main(&cmd, shell);\n        return Ok(());\n    }\n\n    if args.version {\n        println!(\"{}\", app.zed_version_string());\n        return Ok(());\n    }\n\n    if args.system_specs {\n        let path = app.path();\n        let msg = [\n            \"The `--system-specs` argument is not supported in the Zed CLI, only on Zed binary.\",\n            \"To retrieve the system specs on the command line, run the following command:\",\n            &format!(\"{} --system-specs\", path.display()),\n        ];\n        anyhow::bail!(msg.join(\"\\n\"));\n    }\n\n    #[cfg(all(\n        any(target_os = \"linux\", target_os = \"macos\"),\n        not(feature = \"no-bundled-uninstall\")\n    ))]\n    if args.uninstall {\n        static UNINSTALL_SCRIPT: &[u8] = include_bytes!(\"../../../script/uninstall.sh\");\n\n        let tmp_dir = tempfile::tempdir()?;\n        let script_path = tmp_dir.path().join(\"uninstall.sh\");\n        fs::write(&script_path, UNINSTALL_SCRIPT)?;\n\n        use std::os::unix::fs::PermissionsExt as _;\n        fs::set_permissions(&script_path, fs::Permissions::from_mode(0o755))?;\n\n        let status = std::process::Command::new(\"sh\")\n            .arg(&script_path)","sourceCodeStart":540,"sourceCodeEnd":576,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/cli/src/main.rs#L540-L576","documentation":"Error \"The `--system-specs` argument is not supported in the Zed CLI, only on Zed binary.\nTo retrieve the system specs on the command line, run the following command:\n{} --system-specs\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/cli/src/main.rs:558 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bc538def4545534201bbfcac4e95ac34ea6501b6","analyzedAt":"2026-08-16T07:30:46.435Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}