summaryrefslogtreecommitdiff
path: root/gtk2_ardour/opts.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-08-22 04:30:29 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-08-22 04:30:29 +0000
commit7b5573f1850902f22eeb17cbe2826b9536f87c7b (patch)
treeaf2be6f3a05f740465d6af290ee33e40ad4282c9 /gtk2_ardour/opts.cc
parent4f4d82c998fa9297b3f290fd7641882007891290 (diff)
changes to support packaging of the GTK-Quartz version of Ardour for OS X
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2338 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/opts.cc')
-rw-r--r--gtk2_ardour/opts.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk2_ardour/opts.cc b/gtk2_ardour/opts.cc
index 665233ea1f..e9be9e49ec 100644
--- a/gtk2_ardour/opts.cc
+++ b/gtk2_ardour/opts.cc
@@ -68,7 +68,7 @@ print_help (const char *execname)
int
ARDOUR_COMMAND_LINE::parse_opts (int argc, char *argv[])
{
- const char *optstring = "U:hSbvVnOc:C:m:N:k:";
+ const char *optstring = "U:hSbvVnOc:C:m:N:k:p:";
const char *execname = strrchr (argv[0], '/');
if (getenv ("ARDOUR_SAE")) {
@@ -93,6 +93,7 @@ ARDOUR_COMMAND_LINE::parse_opts (int argc, char *argv[])
{ "no-hw-optimizations", 0, 0, 'O' },
{ "sync", 0, 0, 'O' },
{ "curvetest", 1, 0, 'C' },
+ { "sillyAppleUndocumentedFinderFeature", 1, 0, 'p' },
{ 0, 0, 0, 0 }
};
@@ -130,9 +131,13 @@ ARDOUR_COMMAND_LINE::parse_opts (int argc, char *argv[])
case 'n':
no_splash = false;
break;
+
+ case 'p':
+ //undocumented OS X finder -psn_XXXXX argument
+ break;
case 'S':
- // ; just pass this through to gtk it will figure it out
+ // just pass this through to gtk it will figure it out
break;
case 'N':