mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-28 10:20:01 +00:00
split command lister-omission to being either included in ui lists, and included in lower level ipc driving documentation
This commit is contained in:
@@ -693,7 +693,7 @@ raddbg_readme:
|
||||
@p "A list of commands and their descriptions are below:";
|
||||
@unordered_list
|
||||
{
|
||||
@expand(DF_CoreCmdTable a) @p "$(a.lister_omit == 0 -> '`'..a.display_name..'` '..'(`'..a.string..'`) '..a.desc)";
|
||||
@expand(DF_CoreCmdTable a) @p "$(a.ipc_docs_vis == 1 -> '`'..a.display_name..'` '..'(`'..a.string..'`) '..a.desc)";
|
||||
}
|
||||
|
||||
@subtitle "Targets";
|
||||
|
||||
@@ -188,7 +188,7 @@ df_cmd_lister_item_list_from_needle(Arena *arena, String8 needle)
|
||||
for(DF_CmdSpecNode *n = specs.first; n != 0; n = n->next)
|
||||
{
|
||||
DF_CmdSpec *spec = n->spec;
|
||||
if(!(spec->info.flags & DF_CmdSpecFlag_OmitFromLists))
|
||||
if(spec->info.flags & DF_CmdSpecFlag_ListInUI)
|
||||
{
|
||||
String8 cmd_display_name = spec->info.display_name;
|
||||
String8 cmd_desc = spec->info.description;
|
||||
|
||||
Reference in New Issue
Block a user