[dconf-editor] Use OptionFlags.NONE.



commit 6bc56fad241361456211d3496ba1c8abecd511c4
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Oct 12 19:17:34 2019 +0200

    Use OptionFlags.NONE.

 editor/dconf-editor.vala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/editor/dconf-editor.vala b/editor/dconf-editor.vala
index 3f0f258..a9d54fa 100644
--- a/editor/dconf-editor.vala
+++ b/editor/dconf-editor.vala
@@ -156,15 +156,15 @@ private class ConfigurationEditor : Gtk.Application, BaseApplication
     private const OptionEntry [] option_entries =
     {
         /* Translators: command-line option description, see 'dconf-editor --help' */
-        { "version", 'v', 0, OptionArg.NONE, null, N_("Print release version and exit"), null },
+        { "version", 'v', OptionFlags.NONE, OptionArg.NONE, null, N_("Print release version and exit"), null 
},
 
         /* Translators: command-line option description, see 'dconf-editor --help' */
-        { "list-relocatable-schemas", 0, 0, OptionArg.NONE, null, N_("Print relocatable schemas and exit"), 
null },
+        { "list-relocatable-schemas", 0, OptionFlags.NONE, OptionArg.NONE, null, N_("Print relocatable 
schemas and exit"), null },
 
         /* Translators: command-line option description, see 'dconf-editor --help'; the option removes the 
initial "use at your own risks" dialog */
-        { "I-understand-that-changing-options-can-break-applications", 0, 0, OptionArg.NONE, ref 
disable_warning, N_("Do not show initial warning"), null },
+        { "I-understand-that-changing-options-can-break-applications", 0, OptionFlags.NONE, OptionArg.NONE, 
ref disable_warning, N_("Do not show initial warning"), null },
 
-        { OPTION_REMAINING, 0, 0, OptionArg.STRING_ARRAY, ref remaining, "args", null },
+        { OPTION_REMAINING, 0, OptionFlags.NONE, OptionArg.STRING_ARRAY, ref remaining, "args", null },
         {}
     };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]