diff options
Diffstat (limited to 'src/logo-generator.vala')
-rw-r--r-- | src/logo-generator.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logo-generator.vala b/src/logo-generator.vala index 0556466..1cea95f 100644 --- a/src/logo-generator.vala +++ b/src/logo-generator.vala @@ -6,7 +6,7 @@ public class Main : Object private static string? result = null; private static int width = 245; private static int height = 44; - private const OptionEntry[] options = { + private const OptionEntry[] options = { {"logo", 0, 0, OptionArg.FILENAME, ref file, "Path to logo", "LOGO"}, {"text", 0, 0, OptionArg.STRING, ref text, "Sublogo text", "TEXT"}, {"width", 0, 0, OptionArg.INT, ref width, "Logo width", "WIDTH"}, @@ -21,7 +21,7 @@ public class Main : Object opt_context.set_help_enabled (true); opt_context.add_main_entries (options, null); opt_context.parse (ref args); - } catch (OptionError e) { + } catch (OptionError e) { stdout.printf ("error: %s\n", e.message); stdout.printf ("Run '%s --help' to see a full list of available command line options.\n", args[0]); return 0; |