Ed Schouten
66c5875a45
Simplify getopt switch parsing.
...
Only one of these flags can be set. Just add them together and check the
value. Also, get rid of the listall variable. The code is already filled
with direct *flag-comparisons.
Obtained from: Alexander Best (though modified)
2011-11-08 11:36:46 +00:00
..
2010-04-25 17:38:53 +00:00
2010-12-11 08:32:16 +00:00
2011-08-04 14:18:09 +00:00
2011-11-06 20:30:21 +00:00
2010-01-02 10:27:05 +00:00
2010-01-10 08:02:07 +00:00
2011-11-06 08:13:51 +00:00
2010-12-11 08:32:16 +00:00
2010-12-04 10:11:20 +00:00
2010-12-11 08:32:16 +00:00
2010-01-02 10:27:05 +00:00
2010-01-15 16:01:22 +00:00
2010-05-13 12:07:55 +00:00
2010-01-02 10:27:05 +00:00
2010-12-28 10:08:50 +00:00
2011-11-06 08:13:58 +00:00
2011-10-30 20:55:32 +00:00
2011-11-06 08:14:03 +00:00
2011-11-06 08:14:09 +00:00
2010-10-08 12:40:16 +00:00
2011-11-06 18:49:03 +00:00
2010-11-19 10:18:58 +00:00
2011-11-06 17:20:44 +00:00
2010-12-11 08:32:16 +00:00
2011-10-22 14:08:43 +00:00
2011-11-06 08:14:16 +00:00
2011-11-06 08:14:22 +00:00
2011-11-06 08:14:28 +00:00
2010-11-22 14:16:22 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:14:34 +00:00
2011-11-06 18:49:10 +00:00
2010-01-02 10:27:05 +00:00
2011-11-06 18:49:16 +00:00
2011-08-01 08:22:40 +00:00
2011-11-06 08:14:40 +00:00
2011-11-06 08:14:45 +00:00
2011-10-04 14:26:45 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:14:51 +00:00
2011-11-07 09:42:22 +00:00
2010-01-02 10:27:05 +00:00
2010-12-11 08:32:16 +00:00
2011-11-08 11:36:46 +00:00
2010-02-09 10:47:44 +00:00
2010-02-12 15:07:24 +00:00
2011-10-16 14:11:05 +00:00
2011-11-06 18:49:23 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 18:49:30 +00:00
2010-12-11 08:32:16 +00:00
2011-10-04 15:00:54 +00:00
2010-01-02 10:27:05 +00:00
2011-09-28 18:53:36 +00:00
2011-10-14 07:24:23 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:15:23 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 18:49:36 +00:00
2010-01-02 10:27:05 +00:00
2011-06-20 08:00:32 +00:00
2011-07-11 05:46:15 +00:00
2010-10-08 12:40:16 +00:00
2011-10-27 16:20:29 +00:00
2011-01-26 18:43:15 +00:00
2010-12-11 08:32:16 +00:00
2011-10-23 16:04:07 +00:00
2011-10-16 07:35:26 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-01-02 10:27:05 +00:00
2011-06-06 20:24:17 +00:00
2011-11-06 09:09:45 +00:00
2010-08-10 06:58:12 +00:00
2010-01-02 10:27:05 +00:00
2011-07-14 14:18:14 +00:00
2011-11-06 08:15:35 +00:00
2010-12-11 08:32:16 +00:00
2011-10-21 11:08:25 +00:00
2010-01-02 10:27:05 +00:00
2011-03-06 19:50:47 +00:00
2011-10-18 08:26:12 +00:00
2011-01-26 06:36:14 +00:00
2011-11-06 18:49:41 +00:00
2011-11-06 08:15:41 +00:00
2011-06-21 20:36:10 +00:00
2011-06-18 13:56:33 +00:00
2011-10-14 07:26:20 +00:00
2011-05-10 01:05:41 +00:00
2011-02-21 09:01:34 +00:00
2011-04-10 10:17:01 +00:00
2010-03-02 16:58:04 +00:00
2010-11-23 15:08:56 +00:00
2011-11-06 08:15:48 +00:00
2010-04-14 19:08:06 +00:00
2011-11-06 08:15:53 +00:00
2011-05-03 10:18:27 +00:00
2010-01-02 10:27:05 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:15:59 +00:00
2010-12-11 08:32:16 +00:00
2010-01-02 10:27:05 +00:00
2011-10-16 08:04:43 +00:00
2011-11-06 18:49:48 +00:00
2010-12-25 17:35:30 +00:00
2011-11-06 08:16:06 +00:00
2010-01-04 15:40:17 +00:00
2011-08-04 08:50:33 +00:00
2010-12-11 08:32:16 +00:00
2010-03-22 21:19:17 +00:00
2011-11-06 08:16:11 +00:00
2011-05-25 14:13:53 +00:00
2011-02-25 00:04:39 +00:00
2010-12-11 08:32:16 +00:00
2011-05-25 14:13:53 +00:00
2011-02-25 00:04:39 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2011-05-13 09:55:48 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:16:18 +00:00
2010-10-19 00:01:53 +00:00
2011-07-11 10:42:36 +00:00
2011-10-16 10:00:28 +00:00
2011-06-24 07:18:44 +00:00
2011-07-22 16:42:12 +00:00
2011-10-16 07:05:43 +00:00
2010-06-02 10:20:23 +00:00
2011-08-23 13:44:56 +00:00
2011-02-26 11:20:51 +00:00
2011-10-14 07:28:39 +00:00
2010-12-11 08:32:16 +00:00
2010-01-02 10:27:05 +00:00
2011-07-16 11:20:54 +00:00
2010-01-02 10:27:05 +00:00
2010-01-02 10:27:05 +00:00
2010-01-02 10:27:05 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 18:49:53 +00:00
2010-05-01 22:10:45 +00:00
2010-03-11 12:18:52 +00:00
2011-11-06 08:16:24 +00:00
2010-12-11 08:32:16 +00:00
2011-05-28 14:32:47 +00:00
2011-11-07 21:16:19 +00:00
2011-11-06 08:16:29 +00:00
2011-07-14 19:18:17 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-01-02 10:27:05 +00:00
2011-04-27 17:36:37 +00:00
2011-07-11 05:31:52 +00:00
2011-05-13 22:35:06 +00:00
2011-11-06 08:16:35 +00:00
2010-12-20 08:47:43 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:16:41 +00:00
2011-11-06 08:16:47 +00:00
2011-11-06 08:16:53 +00:00
2011-11-06 08:16:59 +00:00
2011-10-15 19:08:22 +00:00
2011-10-29 06:13:47 +00:00
2011-11-06 08:17:05 +00:00
2010-11-06 15:04:56 +00:00
2010-12-11 08:32:16 +00:00
2011-05-24 06:56:40 +00:00
2010-01-02 10:27:05 +00:00
2010-03-30 09:58:21 +00:00
2011-11-06 08:17:11 +00:00
2011-02-11 05:33:35 +00:00
2011-10-16 09:09:33 +00:00
2011-10-16 08:36:10 +00:00
2011-11-06 08:17:17 +00:00
2011-11-06 08:17:23 +00:00
2011-10-22 16:53:29 +00:00
2011-11-06 08:17:29 +00:00
2011-11-06 08:17:35 +00:00
2010-01-02 10:27:05 +00:00
2011-07-11 05:57:49 +00:00
2010-12-11 08:32:16 +00:00
2011-05-10 10:58:57 +00:00
2011-07-18 21:15:47 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:17:42 +00:00
2010-12-11 08:32:16 +00:00
2010-03-03 19:25:28 +00:00
2011-10-21 11:08:25 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:17:47 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:17:53 +00:00
2011-11-06 08:17:59 +00:00
2011-11-06 08:18:05 +00:00
2011-11-06 18:50:00 +00:00
2011-11-06 08:18:11 +00:00
2011-11-06 08:18:17 +00:00
2010-12-11 08:32:16 +00:00
2011-08-01 22:21:18 +00:00
2011-11-06 08:18:23 +00:00
2011-11-06 08:18:30 +00:00
2011-06-18 07:47:15 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 08:18:35 +00:00
2010-01-02 10:27:05 +00:00
2010-12-11 08:32:16 +00:00
2010-01-02 10:27:05 +00:00
2011-11-06 08:18:42 +00:00
2011-07-18 19:42:18 +00:00
2011-11-06 08:18:47 +00:00
2011-11-06 08:18:55 +00:00
2011-11-06 08:19:00 +00:00
2010-12-11 08:32:16 +00:00
2011-11-06 18:50:19 +00:00
2011-11-06 18:50:26 +00:00
2011-10-28 12:47:37 +00:00
2011-11-06 18:50:33 +00:00
2010-12-11 08:32:16 +00:00
2010-06-15 04:47:16 +00:00
2011-03-24 13:52:59 +00:00
2011-11-06 08:19:07 +00:00
2011-11-05 22:25:15 +00:00
2011-11-06 18:50:39 +00:00
2010-10-11 21:16:50 +00:00
2011-10-16 08:04:43 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-01-02 10:27:05 +00:00
2010-01-02 10:27:05 +00:00
2010-06-19 16:24:55 +00:00
2011-06-17 21:30:21 +00:00
2010-09-13 02:23:03 +00:00
2010-09-13 02:23:03 +00:00
2010-09-13 02:23:03 +00:00
2010-09-13 02:23:03 +00:00
2010-01-02 10:27:05 +00:00
2010-09-13 02:23:03 +00:00
2010-09-13 02:23:03 +00:00