[gnome-calculator/fix-cli-string: 7/10] gnome-calculator.vala: clarify valid values for CLI



commit 934cd39542a1810024bb07b82ee2af4d90a42e85
Author: Rafael Fontenelle <rffontenelle gmail com>
Date:   Thu Dec 26 10:45:49 2019 +0000

    gnome-calculator.vala: clarify valid values for CLI

 src/gnome-calculator.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-calculator.vala b/src/gnome-calculator.vala
index be9e84d1..2944198e 100644
--- a/src/gnome-calculator.vala
+++ b/src/gnome-calculator.vala
@@ -21,7 +21,7 @@ public class Calculator : Gtk.Application
     private static string mode_string = null;
 
     private const OptionEntry[] option_entries = {
-        { "mode", 'm', 0, OptionArg.STRING, ref mode_string, N_("Start in given mode (basic, advanced, 
financial, programming, keyboard)"), "mode" },
+        { "mode", 'm', 0, OptionArg.STRING, ref mode_string, N_("Start in given mode; valid values are: 
“basic”, “advanced”, “financial”, “programming”, “keyboard”"), "mode" },
         { "solve", 's', 0, OptionArg.STRING, null, N_("Solve given equation"), "equation" },
         { "equation", 'e', 0, OptionArg.STRING, ref equation_string, N_("Start with given equation"), 
"equation"},
         { "version", 'v', 0, OptionArg.NONE, null, N_("Show release version"), null },


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