gengetopt (devel/gengetopt) Updated: 2 years, 9 months ago Add to my watchlist

Generates a C function that uses getopt_long function

This program generates a C function that uses getopt_long function to parse the command line options, to validate them and fills a struct. Thus your program can now handle options such as: myprog --input foo.c -o foo.o --no-tabs -i 100 *.class And both long options (those that start with –) and short options (start with - and consist of only one character) can be handled. For standards about short and long options you may want to take a look at the GNU Coding Standards.

Version: 2.23 License: GPL-3+ GitHub
Reset

27 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
15 4133 2024-10-04 1:26:35 0:02:38 495 build successful
14.arm64 3927 2024-01-13 17:08:46 0:00:53 1534 build successful
14 7909 2023-11-05 22:17:39 0:02:44 1363 build successful
13.arm64 8867 2023-03-06 16:38:29 0:00:49 4013 build successful
13 23796 2023-03-06 16:07:23 0:02:06 4489 build successful
13.arm64 7331 2023-03-05 9:30:07 0:00:36 3897 failed install-port
13 5317 2022-12-22 23:10:41 0:01:39 860 failed install-port
10.13 142489 2022-02-17 5:38:27 0:02:26 46467 build successful
12 21814 2022-02-17 3:42:21 0:04:25 4899 build successful
11.arm64 46987 2022-02-17 3:41:30 0:00:44 16056 build successful
11 64494 2022-02-17 3:24:45 0:04:46 16117 build successful
10.14 118996 2022-02-17 3:15:04 0:03:39 37236 build successful
10.12 178298 2022-02-17 3:05:55 0:02:47 54383 build successful
10.15 91559 2022-02-16 23:31:33 0:03:27 26237 build successful
10.8 80724 2022-02-16 18:49:02 0:04:10 25932 build successful
10.11 173632 2022-02-16 18:48:39 0:03:39 55573 build successful
10.6.x86_64 93280 2022-02-16 18:46:47 0:08:46 28020 build successful
10.6 59148 2022-02-16 18:46:27 0:09:34 28059 build successful
10.7 89377 2022-02-16 18:44:41 0:03:25 27878 build successful
10.10 174878 2022-02-16 18:44:25 0:03:55 55463 build successful
10.9 179673 2022-02-16 18:44:11 0:03:28 55152 build successful
12.arm64 42883 2022-02-16 18:37:57 0:00:50 4882 build successful
12 3605 2021-11-26 2:13:38 0:03:08 545 build successful
12.arm64 5582 2021-11-05 21:05:25 0:00:36 477 build successful
11 8081 2020-12-18 10:54:55 0:04:05 954 build successful
11.arm64 3595 2020-11-28 5:45:28 0:01:15 517 build successful
10.6 1748 2019-10-31 21:53:03 0:09:17 541 build successful