From c67e4607e6f5ff7508b599743b23a2842d6e7ecf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 24 Oct 2009 15:43:59 +0000 Subject: [PATCH] More standard --help output. git-svn-id: svn://localhost/ardour2/branches/3.0@5907 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/opts.cc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/gtk2_ardour/opts.cc b/gtk2_ardour/opts.cc index a802f42d07..462a8ae7d5 100644 --- a/gtk2_ardour/opts.cc +++ b/gtk2_ardour/opts.cc @@ -50,25 +50,25 @@ using namespace ARDOUR_COMMAND_LINE; int print_help (const char *execname) { - cout << _("Usage: ") << execname << "\n" - << _(" -v, --version Show version information\n") - << _(" -h, --help Print this message\n") - << _(" -b, --bindings Print all possible keyboard binding names\n") - << _(" -c, --name Use a specific jack client name, default is ardour\n") - << _(" -d, --disable-plugins Disable all plugins in an existing session\n") - << _(" -D, --debug Set debug flags. Use \"-D list\" to see available options\n") - << _(" -n, --show-splash Show splash screen\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") + cout << _("Usage: ") << execname << " [OPTION]... [SESSION_NAME]\n\n" + << _(" [SESSION_NAME] Name of session to load\n") + << _(" -v, --version Show version information\n") + << _(" -h, --help Print this message\n") + << _(" -b, --bindings Print all possible keyboard binding names\n") + << _(" -c, --name Use a specific jack client name, default is ardour\n") + << _(" -d, --disable-plugins Disable all plugins in an existing session\n") + << _(" -D, --debug Set debug flags. Use \"-D list\" to see available options\n") + << _(" -n, --show-splash Show splash screen\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") #ifdef VST_SUPPORT - << _(" -V, --novst Do not use VST support\n") + << _(" -V, --novst Do not use VST support\n") #endif - << _(" -E, --save Load the specified session, save it to and then quit\n") - << _(" [session-name] Name of session to load\n") - << _(" -C, --curvetest filename Curve algorithm debugger\n") - << _(" -k, --keybindings filename Name of key bindings to load (default is ~/.ardour3/ardour.bindings)\n") + << _(" -E, --save Load the specified session, save it to and then quit\n") + << _(" -C, --curvetest filename Curve algorithm debugger\n") + << _(" -k, --keybindings filename Name of key bindings to load (default is ~/.ardour3/ardour.bindings)\n") ; return 1;