View Issue Details

IDProjectCategoryView StatusLast Update
0006343unrealmodule apipublic2023-10-07 07:32
ReporterValware Assigned To 
PrioritynoneSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0006343: Add HELPOP text via CommandAdd()
DescriptionIt would be helpful to be able to have our helptext directly available in `HELP` outputs when adding a command and being able to list these commands and view their help output with the file-based help outputs as a fallback.

Example:
```
CommandAdd(modinfo->handle, "ELMER", cmd_elmer, 0, CMD_USER, elmer_help);

static char *elmer_help[] = {
    "*** Elmer Help ***",
    "Etc, etc"
};
```
TagsNo tags attached.
3rd party modules

Activities

syzop

2023-10-07 07:32

administrator   ~0023050

Yeah this was brought up in 2019 as well. Pegasus and Gottem talked about it and it was mostly about not showing HELPOP text for shipped modules that are not loaded, which then became possible via @if module-loaded() in help.conf and the like... We also briefly touched upon 3rd parties but I don't think there was a clear with no clear result, back then people were still shipping modules .tar.gz's and the module manager was under development (which only deals with .c files at the moment, as you know).

So, yeah, hmmm... i do think there should be some easy way for 3rd party modules to do this though, I agree :)

Issue History

Date Modified Username Field Change
2023-09-30 15:15 Valware New Issue
2023-10-07 07:32 syzop Summary Feature Request: ability to associate help text in CommandAdd() as optional parameter => Add HELPOP text via CommandAdd()
2023-10-07 07:32 syzop Note Added: 0023050