From feaa9da99368196af3a5b5a613a839e7768c05fb Mon Sep 17 00:00:00 2001 From: dooglus Date: Thu, 17 Jan 2008 17:56:25 +0000 Subject: [PATCH] Tidying. git-svn-id: http://svn.voria.com/code@1394 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/tool/main.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index afda522..261314a 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -308,9 +308,12 @@ void display_help(int amount) } }; - cerr<<_("syntax: ")<=1) + + cerr << endl << _("syntax: ") << progname << " [DEFAULT OPTIONS] ([SIF FILE] [SPECIFIC OPTIONS])..." << endl << endl; + + if(amount == 0) + Argument("--help",NULL,_("Print out usage and syntax info")); + else { Argument("-t","",_("Specify output target (Default:unknown)")); Argument("-w","",_("Set the image width (Use zero for file default)")); @@ -349,9 +352,7 @@ void display_help(int amount) Argument("--signal-test",NULL,_("Test signal implementation")); #endif } - else - Argument("--help",NULL,_("Print out usage and syntax info")); cerr<