-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
| 1354 | } |
| 1355 | /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ |
| 1356 | void module_help_main(const char *newlib,const char *help) |
| 1357 | { |
| 1358 | char *plib = iiConvName(newlib); |
| 1359 | idhdl pl = basePack->idroot->get(plib,0); |
| 1360 | if ((pl==NULL)||(IDTYP(pl)!=PACKAGE_CMD)) |
| 1361 | Werror(">>%s<< is not a package (trying to add package help)",plib); |
| 1362 | else |
| 1363 | { |
| 1364 | package s=currPack; |
| 1365 | currPack=IDPACKAGE(pl); |
| 1366 | idhdl h=enterid("info",0,STRING_CMD,&IDROOT,FALSE); |
| 1367 | IDSTRING(h)=omStrDup(help); |
| 1368 | currPack=s; |
| 1369 | } |
| 1370 | } |
| 1371 | void module_help_proc(const char *newlib,const char *p, const char *help) |
| 1372 | { |
| 1373 | char *plib = iiConvName(newlib); |
no test coverage detected