Commit 0f2786af authored by Claes Sjofors's avatar Claes Sjofors

Help class method, abbreviation of class names removed

parent a6c9f726
...@@ -1378,9 +1378,9 @@ static pwr_tStatus HelpClass( xmenu_sMenuCall *ip) ...@@ -1378,9 +1378,9 @@ static pwr_tStatus HelpClass( xmenu_sMenuCall *ip)
} }
if ( classname[0] == '$') if ( classname[0] == '$')
sprintf( cmd, "help %s", &classname[1]); sprintf( cmd, "help %s /strict", &classname[1]);
else else
sprintf( cmd, "help %s", classname); sprintf( cmd, "help %s /strict", classname);
sts = ((XNav *)ip->EditorContext)->command( cmd); sts = ((XNav *)ip->EditorContext)->command( cmd);
return XNAV__SUCCESS; return XNAV__SUCCESS;
......
...@@ -318,7 +318,7 @@ dcli_tCmdTable xnav_command_table[] = { ...@@ -318,7 +318,7 @@ dcli_tCmdTable xnav_command_table[] = {
{ "dcli_arg1", "dcli_arg2", "dcli_arg3", "dcli_arg4", { "dcli_arg1", "dcli_arg2", "dcli_arg3", "dcli_arg4",
"/HELPFILE", "/POPNAVIGATOR", "/BOOKMARK", "/HELPFILE", "/POPNAVIGATOR", "/BOOKMARK",
"/INDEX", "/BASE", "/RETURNCOMMAND", "/WIDTH", "/INDEX", "/BASE", "/RETURNCOMMAND", "/WIDTH",
"/HEIGHT", "/VERSION", ""} "/HEIGHT", "/VERSION", "/STRICT", ""}
}, },
{ {
"LOGOUT", "LOGOUT",
...@@ -478,7 +478,8 @@ static int xnav_help_func( void *client_data, ...@@ -478,7 +478,8 @@ static int xnav_help_func( void *client_data,
return sts; return sts;
} }
int strict = 0; int strict = ODD( dcli_get_qualifier( "/STRICT", 0, 0));
if ( EVEN( dcli_get_qualifier( "dcli_arg1", arg_str, sizeof(arg_str)))) if ( EVEN( dcli_get_qualifier( "dcli_arg1", arg_str, sizeof(arg_str))))
{ {
sts = CoXHelp::dhelp( "help command", "", navh_eHelpFile_Base, NULL, strict); sts = CoXHelp::dhelp( "help command", "", navh_eHelpFile_Base, NULL, strict);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment