Unexpected difference in behavior between two ways of specifying
the same thing. '-V' no longer prints the version and continues
to run the rest of the program.

Signed-off-by: Jason Gerecke <killert...@gmail.com>
---
 tools/xsetwacom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index 8c6d35d..28b42bc 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -2227,7 +2227,7 @@ int main (int argc, char **argv)
                                break;
                        case 'V':
                                version();
-                               break;
+                               return 0;
                        case 'h':
                        default:
                                usage();
-- 
1.7.4.1


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to