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: tasm-options.c 1197 2005-01-24 06:44:25Z peter $"); | |
33 | 32 |
34 #include "tasm-options.h" | 33 #include "tasm-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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } else { | 119 } else { |
121 if (options[i].opt) | 120 if (options[i].opt) |
122 sprintf(optbuf, "/%s", options[i].opt); | 121 sprintf(optbuf, "/%s", options[i].opt); |
123 } | 122 } |
124 | 123 |
125 printf(" %-22s %s\n", optbuf, gettext(options[i].description)); | 124 printf(" %-22s %s\n", optbuf, gettext(options[i].description)); |
126 } | 125 } |
127 | 126 |
128 printf("%s", gettext(tail)); | 127 printf("%s", gettext(tail)); |
129 } | 128 } |
OLD | NEW |