X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Ftool%2Fmain.cpp;h=22f5a9847eb0bdf7f5a8fe49fe8fdb4f1f2b7cdc;hb=0d270efd0dd73dad0077a76ab0b5408510ab1151;hp=04bf9053d8e23b807e52eb5e69ce178988d3f615;hpb=9bb17dbd43d0988caab3a1fa420aa52a32e4fdc5;p=synfig.git diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 04bf905..22f5a98 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -305,12 +305,14 @@ void display_help(int amount) cerr<=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)")); @@ -324,16 +326,13 @@ void display_help(int amount) Argument("-c","",_("Render the canvas with the given id instead of the root.")); Argument("-o","",_("Specify output filename")); Argument("-T","<# of threads>",_("Enable multithreaded renderer using specified # of threads")); - Argument("-b",NULL,_("Print Benchmarks")); - Argument("--fps","",_("Set the frame rate")); Argument("--time","