ObjFW  Diff

Differences From Artifact [18bf6d82b0]:

To Artifact [5f604351d2]:


37
38
39
40
41
42
43
44
45
46
47

48
49
50
51
52
53
54
55
56
	    @"Usage: %@ --app|--class [--superclass=] [--property=] name\n",
	    [OFApplication programName]];

	if (full) {
		[stream writeString: @"\n"];
		[stream writeLine:
		    @"Options:\n"
		    @"    --app          Create a new app\n"
		    @"    --class        Create a new class\n"
		    @"    --help         Show this help\n"
		    @"    --superclass=  Specify the superclass for the class\n"

		    @"    --property=    Add a property to the class.\n"
		    @"                   E.g.: --property='(readonly, "
		    @"nonatomic) id foo'"];
	}

	[OFApplication terminateWithStatus: status];
}

@implementation ObjFWNew







|
|
|
|
>
|
|







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
	    @"Usage: %@ --app|--class [--superclass=] [--property=] name\n",
	    [OFApplication programName]];

	if (full) {
		[stream writeString: @"\n"];
		[stream writeLine:
		    @"Options:\n"
		    @"    -a  --app          Create a new app\n"
		    @"    -c  --class        Create a new class\n"
		    @"    -h  --help         Show this help\n"
		    @"    -s  --superclass=  Specify the superclass for the "
		    @"class\n"
		    @"    -p  --property=    Add a property to the class.\n"
		    @"                       E.g.: --property='(readonly, "
		    @"nonatomic) id foo'"];
	}

	[OFApplication terminateWithStatus: status];
}

@implementation ObjFWNew