X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Ftool%2Fmain.cpp;fp=synfig-core%2Ftrunk%2Fsrc%2Ftool%2Fmain.cpp;h=38a7c644c1a89836986cab10dd27734fc0037494;hb=c6b96867f534d312015b12fd8f1e9a008c1ab848;hp=fbff491c88cf15c826d530ff4fcc37f69e0df607;hpb=9e9c326de756bdd7e29b3b9d3e6574fbe1b9b280;p=synfig.git diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index fbff491..38a7c64 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -304,70 +304,66 @@ void signal_test() /* === P R O C E D U R E S ================================================= */ -void display_help(int amount) +void display_help_option(const char *flag, const char *arg, string description) { - class Argument - { - public: - Argument(const char *flag,const char *arg, string description) - { - const char spaces[]=" "; - if(arg) - cerr<",_("Specify output target (Default:unknown)")); - Argument("-w","",_("Set the image width (Use zero for file default)")); - Argument("-h","",_("Set the image height (Use zero for file default)")); - Argument("-s","",_("Set the diagonal size of image window (Span)")); - Argument("-a","<1...30>",_("Set antialias amount for parametric renderer.")); - Argument("-Q","<0...10>",strprintf(_("Specify image quality for accelerated renderer (default=%d)"),DEFAULT_QUALITY).c_str()); - Argument("-g","",_("Gamma (default=2.2)")); - Argument("-v",NULL,_("Verbose Output (add more for more verbosity)")); - Argument("-q",NULL,_("Quiet mode (No progress/time-remaining display)")); - 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","