ObjFW  Diff

Differences From Artifact [92125fd380]:

  • File utils/ofarc/OFArc.m — part of check-in [915bfc7431] at 2022-09-29 20:27:57 on branch trunk — OFLocale: Rename a few methods (user: js size: 21687) [more...]

To Artifact [1abc9749ff]:

  • File utils/ofarc/OFArc.m — part of check-in [204b27318f] at 2022-11-13 19:07:37 on branch trunk — Add OFApplicationDidFinishLaunchingNotification (user: js size: 21719) [more...]

163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
			[expandedFiles addObject: file];
	}

	[archive addFiles: expandedFiles];
}

@implementation OFArc
- (void)applicationDidFinishLaunching
{
	OFString *outputDir, *encodingString, *type;
	const OFOptionsParserOption options[] = {
		{ 'a', @"append", 0, NULL, NULL },
		{ 'c', @"create", 0, NULL, NULL },
		{ 'C', @"directory", 1, NULL, &outputDir },
		{ 'E', @"encoding", 1, NULL, &encodingString },







|







163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
			[expandedFiles addObject: file];
	}

	[archive addFiles: expandedFiles];
}

@implementation OFArc
- (void)applicationDidFinishLaunching: (OFNotification *)notification
{
	OFString *outputDir, *encodingString, *type;
	const OFOptionsParserOption options[] = {
		{ 'a', @"append", 0, NULL, NULL },
		{ 'c', @"create", 0, NULL, NULL },
		{ 'C', @"directory", 1, NULL, &outputDir },
		{ 'E', @"encoding", 1, NULL, &encodingString },