[cheese] use -v as a shortcut for --version



commit ef2f01d14f86491cd64260ce9e3146d129bb25dc
Author: daniel g. siegel <dgsiegel gnome org>
Date:   Mon Aug 9 01:48:31 2010 +0200

    use -v as a shortcut for --version

 src/cheese-main.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cheese-main.vala b/src/cheese-main.vala
index d713571..6196bfd 100644
--- a/src/cheese-main.vala
+++ b/src/cheese-main.vala
@@ -36,7 +36,7 @@ public class Cheese.Main
   const OptionEntry[] options = {
     { "wide",    'w', 0, OptionArg.NONE, ref wide,         N_("Enable wide mode"),                    null},
     { "device",  'd', 0, OptionArg.FILENAME, ref device,   N_("Device to use as a camera"),           N_("DEVICE")},
-    { "version", 0,   0, OptionArg.NONE, ref version,      N_("Output version information and exit"), null},
+    { "version", 'v', 0, OptionArg.NONE, ref version,      N_("Output version information and exit"), null},
     { null}
   };
 



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