Commit 0a425558 authored by claes's avatar claes

command help/version added

parent 0dad3a8c
......@@ -299,7 +299,7 @@ dcli_tCmdTable wnav_command_table[] = {
&wnav_help_func,
{ "dcli_arg1", "dcli_arg2", "dcli_arg3", "dcli_arg4",
"/HELPFILE", "/POPNAVIGATOR", "/BOOKMARK",
"/INDEX", "/BASE", "/PROJECT", "/STRICT", ""}
"/INDEX", "/BASE", "/PROJECT", "/STRICT", "/VERSION", ""}
},
{
"LOGOUT",
......@@ -436,6 +436,13 @@ static int wnav_help_func( void *client_data,
return sts;
}
if ( ODD( dcli_get_qualifier( "/VERSION", 0))) {
sts = CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_exe/xtt_version_help.dat", strict);
if ( EVEN(sts))
wnav->message('E', "No help on this subject");
return sts;
}
if ( EVEN( dcli_get_qualifier( "dcli_arg1", arg_str)))
{
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