Subversion Repositories SvarDOS

Rev

Rev 421 | Rev 989 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 421 Rev 533
Line 24... Line 24...
24
 
24
 
25
/*
25
/*
26
 * rem
26
 * rem
27
 */
27
 */
28
 
28
 
29
static int cmd_rem(struct cmd_funcparam *p) {
29
static enum cmd_result cmd_rem(struct cmd_funcparam *p) {
30
  /* help screen ONLY if /? is the only argument - I do not want to output
30
  /* help screen ONLY if /? is the only argument - I do not want to output
31
   * help for ex. for "REM mouse.com /?" */
31
   * help for ex. for "REM mouse.com /?" */
32
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
32
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
33
    outputnl("Records comments (remarks) in a batch file or CONFIG.SYS");
33
    outputnl("Records comments (remarks) in a batch file or CONFIG.SYS");
34
    outputnl("");
34
    outputnl("");
35
    outputnl("REM [comment]");
35
    outputnl("REM [comment]");
36
  }
36
  }
37
  return(-1);
37
  return(CMD_OK);
38
}
38
}