{"record":{"id":"28afb26687858a7e","repo":"go-delve/delve","slug":"not-documented","errorCode":null,"errorMessage":"not documented","messagePattern":"not documented","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"pkg/terminal/command.go","lineNumber":774,"sourceCode":"func noCmdAvailable(t *Term, ctx callContext, args string) error {\n\treturn errNoCmd\n}\n\nfunc nullCommand(t *Term, ctx callContext, args string) error {\n\treturn nil\n}\n\nfunc (c *Commands) help(t *Term, ctx callContext, args string) error {\n\tif args != \"\" {\n\t\tif p1, p2, ok := strings.Cut(args, \" \"); ok && p1 == \"config\" {\n\t\t\tif !configureValidParameter(t, p2) {\n\t\t\t\treturn errors.New(\"unknown config parameter\")\n\t\t\t}\n\t\t\tif doc := config.Documentation[p2]; doc != \"\" {\n\t\t\t\tfmt.Fprintln(t.stdout, doc)\n\t\t\t\treturn nil\n\t\t\t}\n\t\t\treturn errors.New(\"not documented\")\n\t\t}\n\n\t\tfor _, cmd := range c.cmds {\n\t\t\tif slices.Contains(cmd.aliases, args) {\n\t\t\t\tfmt.Fprintln(t.stdout, cmd.helpMsg)\n\t\t\t\treturn nil\n\t\t\t}\n\t\t}\n\t\treturn errNoCmd\n\t}\n\n\tfmt.Fprintln(t.stdout, \"The following commands are available:\")\n\n\tfor _, cgd := range commandGroupDescriptions {\n\t\tfmt.Fprintf(t.stdout, \"\\n%s:\\n\", cgd.description)\n\t\tw := new(tabwriter.Writer)\n\t\tw.Init(t.stdout, 0, 8, 0, '-', 0)\n\t\tfor _, cmd := range c.cmds {","sourceCodeStart":756,"sourceCodeEnd":792,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/terminal/command.go#L756-L792","documentation":"When 'help config <validParam>' names a parameter that exists but has no entry in config.Documentation, Delve returns this error. The parameter is valid for 'config' but its documentation string was never written.","triggerScenarios":"Running 'help config <param>' where configureValidParameter passes but config.Documentation[param] is empty.","commonSituations":"Asking for docs of newer or internal config parameters whose documentation strings are missing in your Delve version.","solutions":["Use the parameter directly: 'config <param>=<value>' (it is valid even if undocumented)","Check Documentation/cli README for the parameter","Upgrade Delve; newer versions may add the missing doc string"],"exampleFix":"// before\n(dlv) help config follow-exec // undocumented in this build\n// after\n(dlv) config follow-exec=true // set it directly","handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":"err := cmds.Help(term, ctx, \"config \"+param)\nif err != nil && strings.Contains(err.Error(), \"not documented\") {\n    // parameter exists; fall back to its default/description via config\nfmt.Fprintln(os.Stderr, param, \"is valid but undocumented in this Delve build\")\n}","preventionTips":["Treat 'not documented' as informational — the parameter still works","Check newer Delve versions for added documentation strings","Consult Documentation/cli for parameter descriptions","Contribute a doc string upstream if you rely on the parameter"],"tags":["terminal","config","documentation"],"backgroundTag":"missing-documentation","analyzedSha":"a23773e6c31361e43246bc43a424ee009679b174","analyzedAt":"2026-08-31T15:12:45.221Z","schemaVersion":2},"datasetVersion":"2026-08-31T19:17:28.585Z"}