From: Simon McVittie <smcv@debian.org>
Date: Mon, 26 Jul 2010 21:21:26 +0100
Subject: [PATCH] Fix option names in help text

Based on a patch from Ryan Kavanagh <ryanakca@kubuntu.org>.

Bug: https://bugs.launchpad.net/libgfshare/+bug/610233
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588810
Forwarded: https://code.launchpad.net/~smcv/libgfshare/bug610233/+merge/30988
---
 tools/gfsplit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/gfsplit.c b/tools/gfsplit.c
index 3e6bd7f..3bafd19 100644
--- a/tools/gfsplit.c
+++ b/tools/gfsplit.c
@@ -191,7 +191,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
       sharecount = strtoul( optarg, &endptr, 10 );
       if( *endptr != 0 || *optarg == 0 || 
           sharecount < 2 || sharecount > 255 ) {
-        fprintf( stderr, "%s: Invalid argument to option -n\n", progname );
+        fprintf( stderr, "%s: Invalid argument to option -m\n", progname );
         usage( stderr );
         return 1;
       }
@@ -200,7 +200,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
       threshold = strtoul( optarg, &endptr, 10 );
       if( *endptr != 0 || *optarg == 0 || 
           threshold < 2 || threshold > sharecount) {
-        fprintf( stderr, "%s: Invalid argument to option -t\n", progname );
+        fprintf( stderr, "%s: Invalid argument to option -n\n", progname );
         usage( stderr );
         return 1;
       }
-- 
