OLD | NEW |
1 /* | 1 /* |
2 * Generic Options Support Header File | 2 * Generic Options Support Header File |
3 * | 3 * |
4 * Copyright (c) 2001 Stanislav Karchebny <berk@madfire.net> | 4 * Copyright (c) 2001 Stanislav Karchebny <berk@madfire.net> |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 11 matching lines...) Expand all Loading... |
22 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 22 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
23 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | 23 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 * POSSIBILITY OF SUCH DAMAGE. | 28 * POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 #include <util.h> | 30 #include <util.h> |
31 #include <ctype.h> | 31 #include <ctype.h> |
32 /*@unused@*/ RCSID("$Id: yasm-options.c 2248 2009-12-26 04:41:21Z peter $"); | |
33 | 32 |
34 #include "yasm-options.h" | 33 #include "yasm-options.h" |
35 | 34 |
36 | 35 |
37 #ifdef __DEBUG__ | 36 #ifdef __DEBUG__ |
38 #define DEBUG(x) fprintf ## x ; | 37 #define DEBUG(x) fprintf ## x ; |
39 #else | 38 #else |
40 #define DEBUG(x) | 39 #define DEBUG(x) |
41 #endif | 40 #endif |
42 | 41 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 optbuf[shortopt_len] = '\0'; | 207 optbuf[shortopt_len] = '\0'; |
209 printf(" %-22s %s\n", optopt, gettext(options[i].description)); | 208 printf(" %-22s %s\n", optopt, gettext(options[i].description)); |
210 printf(" %s\n", optbuf); | 209 printf(" %s\n", optbuf); |
211 } | 210 } |
212 else | 211 else |
213 printf(" %-22s %s\n", optbuf, gettext(options[i].description)); | 212 printf(" %-22s %s\n", optbuf, gettext(options[i].description)); |
214 } | 213 } |
215 | 214 |
216 printf("%s", gettext(tail)); | 215 printf("%s", gettext(tail)); |
217 } | 216 } |
OLD | NEW |