ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/utils/getopt1.c
(Generate patch)

Comparing trunk/src/utils/getopt1.c (file contents):
Revision 50 by gezelter, Wed Oct 6 23:03:54 2004 UTC vs.
Revision 1442 by gezelter, Mon May 10 17:28:26 2010 UTC

# Line 1 | Line 1
1   /* getopt_long and getopt_long_only entry points for GNU getopt.
2     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
3 <     Free Software Foundation, Inc.
3 >   Free Software Foundation, Inc.
4     This file is part of the GNU C Library.
5  
6     The GNU C Library is free software; you can redistribute it and/or
# Line 110 | Line 110 | main (argc, argv)
110        int this_option_optind = optind ? optind : 1;
111        int option_index = 0;
112        static struct option long_options[] =
113 <      {
114 <        {"add", 1, 0, 0},
115 <        {"append", 0, 0, 0},
116 <        {"delete", 1, 0, 0},
117 <        {"verbose", 0, 0, 0},
118 <        {"create", 0, 0, 0},
119 <        {"file", 1, 0, 0},
120 <        {0, 0, 0, 0}
121 <      };
113 >        {
114 >          {"add", 1, 0, 0},
115 >          {"append", 0, 0, 0},
116 >          {"delete", 1, 0, 0},
117 >          {"verbose", 0, 0, 0},
118 >          {"create", 0, 0, 0},
119 >          {"file", 1, 0, 0},
120 >          {0, 0, 0, 0}
121 >        };
122  
123        c = getopt_long (argc, argv, "abc:d:0123456789",
124                         long_options, &option_index);

Comparing trunk/src/utils/getopt1.c (property svn:keywords):
Revision 50 by gezelter, Wed Oct 6 23:03:54 2004 UTC vs.
Revision 1442 by gezelter, Mon May 10 17:28:26 2010 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines