split command lister-omission to being either included in ui lists, and included in lower level ipc driving documentation

This commit is contained in:
Ryan Fleury
2024-08-07 15:17:27 -07:00
parent 6a886e096e
commit 6563cb9e2c
5 changed files with 447 additions and 446 deletions
+1 -1
View File
@@ -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;