Pārlūkot izejas kodu

g.parser: fix typo (suppress_required)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44776 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 gadi atpakaļ
vecāks
revīzija
fc6aa9c489
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      general/g.parser/main.c

+ 2 - 2
general/g.parser/main.c

@@ -9,7 +9,7 @@
  *               Paul Kelly <paul-grass stjohnspoint.co.uk>, 
  *               Radim Blazek <radim.blazek gmail.com>
  * PURPOSE:      
- * COPYRIGHT:    (C) 2001-2007 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2001-2010 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS
@@ -151,7 +151,7 @@ static void parse_flag(struct context *ctx, const char *cmd, const char *arg)
     }
 
     if (strcasecmp(cmd, "suppress_required") == 0) {
-	ctx->flag->key = parse_boolean(ctx, arg);
+	ctx->flag->suppress_required = parse_boolean(ctx, arg);
 	return;
     }