Subversion Repositories SvarDOS

Rev

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

Rev 379 Rev 387
Line 7... Line 7...
7
static int cmd_ver(struct cmd_funcparam *p) {
7
static int cmd_ver(struct cmd_funcparam *p) {
8
  char *buff = p->BUFFER;
8
  char *buff = p->BUFFER;
9
  unsigned char maj = 0, min = 0;
9
  unsigned char maj = 0, min = 0;
10
 
10
 
11
  /* help screen */
11
  /* help screen */
12
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
12
  if (cmd_ishlp(p)) {
13
    outputnl("Displays the DOS version.");
13
    outputnl("Displays the DOS version.");
14
    return(-1);
14
    return(-1);
15
  }
15
  }
16
 
16
 
17
  if (p->argc != 0) {
17
  if (p->argc != 0) {