Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added -F command-line option.

  • Loading branch information...
commit d06b295e85b5edd59d89483f3fcd4735a7497865 1 parent 6a1de1a
Andrey Tarantsov authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 command_line_tool/platypus.m
5 command_line_tool/platypus.m
@@ -87,7 +87,7 @@ SUPPORT FILES FOR PROGRAM (defined in CommonDefs.h)
87 87
88 88 ///////////// DEFINITIONS ////////////////
89 89
90   -#define OPT_STRING "P:c:f:a:t:o:i:u:p:V:s:I:ASDBRvhX:T:G:N:b"
  90 +#define OPT_STRING "P:c:f:a:t:o:i:u:p:V:s:I:ASDFBRvhX:T:G:N:b"
91 91
92 92 //#define DEBUG 1
93 93
@@ -253,6 +253,9 @@ int main (int argc, const char * argv[])
253 253 case 'D':
254 254 [appSpec setProperty: [NSNumber numberWithBool: YES] forKey: @"Droppable"];
255 255 break;
  256 + case 'F':
  257 + [appSpec setProperty: [NSNumber numberWithBool: YES] forKey: @"AppPathAsFirstArg"];
  258 + break;
256 259 case 'B':
257 260 [appSpec setProperty: [NSNumber numberWithBool: YES] forKey: @"ShowInDock"];
258 261 break;

0 comments on commit d06b295

Please sign in to comment.
Something went wrong with that request. Please try again.