/[baselayout]/trunk/src/mountinfo.c
Gentoo

Diff of /trunk/src/mountinfo.c

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

Revision 2581 Revision 2582
143 bool reverse = false; 143 bool reverse = false;
144 char **mounts = NULL; 144 char **mounts = NULL;
145 char c; 145 char c;
146 146
147 static struct option longopts[] = { 147 static struct option longopts[] = {
148 { "fstype-regex", 1, NULL, 'F'}, 148 { "fstype-regex", 1, NULL, 'F'},
149 { "node-regex", 1, NULL, 'N'}, 149 { "node-regex", 1, NULL, 'N'},
150 { "skip-regex", 1, NULL, 'S'}, 150 { "skip-regex", 1, NULL, 'S'},
151 { "fstype", 0, NULL, 'f'}, 151 { "fstype", 0, NULL, 'f'},
152 { "node", 0, NULL, 'n'}, 152 { "node", 0, NULL, 'n'},
153 { "reverse", 0, NULL, 'r'}, 153 { "reverse", 0, NULL, 'r'},
154 { NULL, 0, NULL, 0} 154 { NULL, 0, NULL, 0}
155 }; 155 };
156 156
157 while ((c = getopt_long (argc, argv, "F:N:S:fnr", 157 while ((c = getopt_long (argc, argv, "F:N:S:fnr",
158 longopts, (int *) 0)) != -1) 158 longopts, (int *) 0)) != -1)
159 switch (c) { 159 switch (c) {

Legend:
Removed from v.2581  
changed lines
  Added in v.2582

  ViewVC Help
Powered by ViewVC 1.1.20