diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-08-13 15:36:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-08-13 15:36:21 +0000 |
commit | 0b1c369e15af54cf809140b75af99d72edce24ae (patch) | |
tree | c7cd072b03cfd49aab44a1e5bb150c301d155663 /gtk2_ardour/opts.cc | |
parent | c25496008816325bf85ac5f777978f7ce351fb1e (diff) |
engine dialog work, new -m option for menu file selection, new obolean automation line work starting up
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2293 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/opts.cc')
-rw-r--r-- | gtk2_ardour/opts.cc | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gtk2_ardour/opts.cc b/gtk2_ardour/opts.cc index 608f684fc9..6e3e760a35 100644 --- a/gtk2_ardour/opts.cc +++ b/gtk2_ardour/opts.cc @@ -37,6 +37,7 @@ bool GTK_ARDOUR::new_session = false; char* GTK_ARDOUR::curvetest_file = 0; bool GTK_ARDOUR::try_hw_optimization = true; string GTK_ARDOUR::keybindings_path = ""; /* empty means use builtin default */ +string GTK_ARDOUR::menus_file = "ardour.menus"; using namespace GTK_ARDOUR; @@ -49,9 +50,10 @@ print_help (const char *execname) << _(" -b, --bindings Print all possible keyboard binding names\n") << _(" -n, --show-splash Show splash screen\n") << _(" -c, --name name Use a specific jack client name, default is ardour\n") - << _(" -N, --new session-name Create a new session from the command line\n") + << _(" -m, --menus file Use \"file\" for Ardour menus\n") + << _(" -N, --new session-name Create a new session from the command line\n") << _(" -O, --no-hw-optimizations Disable h/w specific optimizations\n") - << _(" -S, --sync Draw the gui synchronously \n") + << _(" -S, --sync Draw the gui synchronously \n") #ifdef VST_SUPPORT << _(" -V, --novst Do not use VST support\n") #endif @@ -65,9 +67,8 @@ print_help (const char *execname) int GTK_ARDOUR::parse_opts (int argc, char *argv[]) - { - const char *optstring = "U:hSbvVnOc:C:N:k:"; + const char *optstring = "U:hSbvVnOc:C:m:N:k:"; const char *execname = strrchr (argv[0], '/'); if (execname == 0) { @@ -81,6 +82,7 @@ GTK_ARDOUR::parse_opts (int argc, char *argv[]) { "help", 0, 0, 'h' }, { "bindings", 0, 0, 'b' }, { "show-splash", 0, 0, 'n' }, + { "menus", 1, 0, 'm'} , { "name", 1, 0, 'c' }, { "novst", 0, 0, 'V' }, { "new", 1, 0, 'N' }, @@ -112,10 +114,15 @@ GTK_ARDOUR::parse_opts (int argc, char *argv[]) print_help (execname); exit (0); break; + case 'b': show_key_actions = true; break; + case 'm': + menus_file = optarg; + break; + case 'n': no_splash = false; break; |