Remove flags which don't really exist (--frame, --start-frame, --end-frame) from...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 10 Feb 2008 23:56:19 +0000 (23:56 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 10 Feb 2008 23:56:19 +0000 (23:56 +0000)
git-svn-id: http://svn.voria.com/code@1663 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/tool/main.cpp

index 4551b67..17b7a4c 100644 (file)
@@ -528,9 +528,9 @@ int process_global_flags(arg_list_t &arg_list)
 bool flag_requires_value(String flag) {
        return (flag=="-a"      || flag=="-c"   || flag=="-g"   || flag=="-h"   || flag=="-o" ||
                        flag=="-Q"      || flag=="-s"   || flag=="-t"   || flag=="-T"   || flag=="-w" ||
-                       flag=="--append"        || flag=="--begin-time"         || flag=="--dpi"                || flag=="--dpi-x"      ||
-                       flag=="--dpi-y"         || flag=="--end-frame"          || flag=="--end-time"   || flag=="--fps"        ||
-                       flag=="--frame"         || flag=="--start-frame"        || flag=="--start-time" || flag=="--time"       );
+                       flag=="--append"        || flag=="--begin-time" || flag=="--dpi"                ||
+                       flag=="--dpi-x"         || flag=="--dpi-y"              || flag=="--end-time"   ||
+                       flag=="--fps"           || flag=="--start-time" || flag=="--time"               );
 }
 
 int extract_arg_cluster(arg_list_t &arg_list,arg_list_t &cluster)