Subversion Repositories SvarDOS

Rev

Rev 1075 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1075 Rev 1098
Line 85... Line 85...
85
    return(CMD_FAIL);
85
    return(CMD_FAIL);
86
  }
86
  }
87
 
87
 
88
  /* help screen ONLY if /? is the only argument */
88
  /* help screen ONLY if /? is the only argument */
89
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
89
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
90
    nls_outputnl(18,0); /* "Runs a specified command for each file in a set of files" */
90
    nls_outputnl(18,0); /* "Runs a specified command for each element in a list." */
91
    outputnl("");
91
    outputnl("");
92
    nls_outputnl(18,1); /* "FOR %variable IN (set) DO command [parameters]" */
92
    nls_outputnl(18,1); /* "FOR %variable IN (list) DO command [parameters]" */
93
    outputnl("");
93
    outputnl("");
94
    nls_outputnl(18,2); /* "%variable   A replaceable parameter name. (single letter)" */
94
    nls_outputnl(18,2); /* "%variable   Single-letter variable (a-z or A-Z)." */
95
    nls_outputnl(18,3); /* "(set)       One of more space-separated strings or filename wildcards." */
95
    nls_outputnl(18,3); /* "(list)      One or more space-separated strings or filename wildcards." */
96
    nls_outputnl(18,4); /* "command     The command to carry out for each matched file." */
96
    nls_outputnl(18,4); /* "command     The command to carry out for each element. %variable allowed." */
97
    nls_outputnl(18,5); /* "parameters  Parameters or switches for the specified command." */
97
    nls_outputnl(18,5); /* "parameters  Parameters or switches for the specified command." */
98
    outputnl("");
98
    outputnl("");
99
    nls_outputnl(18,6); /* "To use FOR in a batch program, use %%variable instead of %variable" */
99
    nls_outputnl(18,6); /* "To use FOR in a batch program, use %%variable instead of %variable" */
100
    return(CMD_OK);
100
    return(CMD_OK);
101
  }
101
  }