ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/getopt.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/getopt.c (file contents):
Revision 5347 by michael, Sun Jan 11 12:42:20 2015 UTC vs.
Revision 6381 by michael, Fri Aug 21 17:20:11 2015 UTC

# Line 97 | Line 97 | parseargs(int *argc, char ***argv, struc
97            case STRING:
98              if (*argc < 2)
99              {
100 <              fprintf(stderr, "error: option '%c%s' requires an argument\n",
100 >              fprintf(stderr, "Error: option '%c%s' requires an argument\n",
101                        OPTCHAR, opts[i].opt);
102                usage(progname, opts);
103              }
# Line 121 | Line 121 | parseargs(int *argc, char ***argv, struc
121  
122      if (!found)
123      {
124 <      fprintf(stderr, "error: unknown argument '%c%s'\n",
124 >      fprintf(stderr, "Error: unknown argument '%c%s'\n",
125                OPTCHAR, opt);
126        usage(progname, opts);
127      }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)