/[hurd]/hurd/libcons/opts-std-startup.c
ViewVC logotype

Diff of /hurd/libcons/opts-std-startup.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by marcus, Fri Sep 13 23:53:55 2002 UTC revision 1.4 by marcus, Mon Sep 16 02:46:41 2002 UTC
# Line 84  parse_startup_opt (int opt, char *arg, s Line 84  parse_startup_opt (int opt, char *arg, s
84      case ARGP_KEY_ARG:      case ARGP_KEY_ARG:
85        if (state->arg_num > 0)        if (state->arg_num > 0)
86          /* Too many arguments.  */          /* Too many arguments.  */
87          argp_usage (state);          argp_error (state, "Too many non option arguments");
   
88        _cons_file = arg;        _cons_file = arg;
89        break;        break;
90    
91      case ARGP_KEY_END:      case ARGP_KEY_NO_ARGS:
92        if (state->arg_num != 1)        argp_error (state, "Filename of console server missing");
         /* Not enough arguments. */  
         argp_usage (state);  
93        break;        break;
94    
95      default:      default:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26