Subversion Repositories SvarDOS

Rev

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

Rev 376 Rev 387
Line 4... Line 4...
4
 * Changes the DOS command prompt.
4
 * Changes the DOS command prompt.
5
 *
5
 *
6
 */
6
 */
7
 
7
 
8
static int cmd_prompt(struct cmd_funcparam *p) {
8
static int cmd_prompt(struct cmd_funcparam *p) {
-
 
9
 
9
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
10
  if (cmd_ishlp(p)) {
10
    output("Changes the DOS command prompt.\r\n"
11
    outputnl("Changes the DOS command prompt.");
11
           "\r\n"
12
    outputnl("");
12
           "PROMPT [new command prompt specification]\r\n");
13
    outputnl("PROMPT [new command prompt specification]");
13
    return(-1);
14
    return(-1);
14
  }
15
  }
15
 
16
 
16
  /* no parameter - restore default prompt path */
17
  /* no parameter - restore default prompt path */
17
  if (p->argc == 0) {
18
  if (p->argc == 0) {