webkitpdf.vala
authorAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 03:27:01 +0000 (11:27 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 12 Nov 2015 03:27:01 +0000 (11:27 +0800)
webkitpdf.vala

index f62beac..10f451a 100644 (file)
@@ -11,7 +11,8 @@ public class webkitpdf {
                        
                        { "url", 0, 0, OptionArg.STRING, ref opt_url, "Url to grab", null },
                        { "delay", 0, 0, OptionArg.INT, ref opt_delay, "Delay before snapshot in seconds", null },
-                       { "png", 0, 0, OptionArg.STRING, ref opt_target_png, "File to write (PNG)", null },
+                       //{ "png", 0, 0, OptionArg.STRING, ref opt_target_png, "File to write (PNG)", null },
+                       { "pdf", 0, 0, OptionArg.STRING, ref opt_target_pdf, "File to write (PDF)", null },
                        { null }
        };
     public static int main(string[] args) {