Also add comment about the bug I comments in the forth.

This commit is contained in:
Warner Losh 2016-05-18 14:09:56 +00:00
parent fabe7e4ecc
commit e530e62312
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300146

View File

@ -211,6 +211,14 @@ command_help(int argc, char *argv[])
COMMAND_SET(commandlist, "?", "list commands", command_commandlist);
/*
* Please note: although we use the pager for the list of commands,
* this routine is called from the ? FORTH function which then
* unconditionally prints some commands. This will lead to anomalous
* behavior. There's no 'pager_output' binding to FORTH to allow
* things to work right, so I'm documenting the bug rather than
* fixnig it.
*/
static int
command_commandlist(int argc, char *argv[])
{