Differences From Artifact [2334e6806d]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 23930) [annotate] [blame] [check-ins using]
To Artifact [9a10462bff]:
- File utils/ofhttp/OFHTTP.m — part of check-in [e731dc4c75] at 2017-01-10 19:39:13 on branch trunk — Implement support for localized strings (user: js, size: 24070) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
{ 'v', @"verbose", 0, &_verbose, NULL },
{ '\0', nil, 0, NULL, NULL }
};
OFOptionsParser *optionsParser = [OFOptionsParser
parserWithOptions: options];
of_unichar_t option;
while ((option = [optionsParser nextOption]) != '\0') {
switch (option) {
case 'b':
[self setBody: [optionsParser argument]];
break;
case 'h':
help(of_stdout, true, 0);
| > > > | 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
{ 'v', @"verbose", 0, &_verbose, NULL },
{ '\0', nil, 0, NULL, NULL }
};
OFOptionsParser *optionsParser = [OFOptionsParser
parserWithOptions: options];
of_unichar_t option;
[OFLocalization addLanguageDirectory: [OFString pathWithComponents:
[OFArray arrayWithObjects: @DATADIR, @"ofhttp", @"lang", nil]]];
while ((option = [optionsParser nextOption]) != '\0') {
switch (option) {
case 'b':
[self setBody: [optionsParser argument]];
break;
case 'h':
help(of_stdout, true, 0);
|
| ︙ | ︙ |