| … | |
… | |
| 128 | |
128 | |
| 129 | #else |
129 | #else |
| 130 | # error "Operating system not supported!" |
130 | # error "Operating system not supported!" |
| 131 | #endif |
131 | #endif |
| 132 | |
132 | |
|
|
133 | #include "_usage.h" |
| 133 | #define getoptstring "F:N:S:fnrhV" |
134 | #define getoptstring "F:N:S:fnrV" getoptstring_COMMON |
| 134 | static struct option longopts[] = { |
135 | static struct option longopts[] = { |
| 135 | { "fstype-regex", 1, NULL, 'F'}, |
136 | { "fstype-regex", 1, NULL, 'F'}, |
| 136 | { "node-regex", 1, NULL, 'N'}, |
137 | { "node-regex", 1, NULL, 'N'}, |
| 137 | { "skip-regex", 1, NULL, 'S'}, |
138 | { "skip-regex", 1, NULL, 'S'}, |
| 138 | { "fstype", 0, NULL, 'f'}, |
139 | { "fstype", 0, NULL, 'f'}, |
| 139 | { "node", 0, NULL, 'n'}, |
140 | { "node", 0, NULL, 'n'}, |
| 140 | { "reverse", 0, NULL, 'r'}, |
141 | { "reverse", 0, NULL, 'r'}, |
| 141 | { "help", 0, NULL, 'h'}, |
142 | longopts_COMMON |
| 142 | { NULL, 0, NULL, 0} |
143 | { NULL, 0, NULL, 0} |
| 143 | }; |
144 | }; |
| 144 | #include "_usage.c" |
145 | #include "_usage.c" |
| 145 | |
146 | |
| 146 | int main (int argc, char **argv) |
147 | int main (int argc, char **argv) |