Subversion Repositories SvarDOS

Rev

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

Rev 1001 Rev 1007
Line 152... Line 152...
152
        cfg->flags |= FLAG_EXEC_AND_QUIT;
152
        cfg->flags |= FLAG_EXEC_AND_QUIT;
153
        /* FALLTHRU */
153
        /* FALLTHRU */
154
      case 'k': /* /K = execute command and keep running */
154
      case 'k': /* /K = execute command and keep running */
155
      case 'K':
155
      case 'K':
156
        cmdline++;
156
        cmdline++;
157
        while (*cmdline == ' ') cmdline++;
-
 
158
        cfg->execcmd = cmdline;
157
        cfg->execcmd = cmdline;
159
        break;
158
        return; /* further arguments are for the executed program, not for me */
160
 
159
 
161
      case 'y': /* /Y = execute batch file step-by-step (with /P, /K or /C) */
160
      case 'y': /* /Y = execute batch file step-by-step (with /P, /K or /C) */
162
      case 'Y':
161
      case 'Y':
163
        cfg->flags |= FLAG_STEPBYSTEP;
162
        cfg->flags |= FLAG_STEPBYSTEP;
164
        break;
163
        break;