[GRASS-SVN] r33001 - grass/trunk/general/g.parser

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 22 11:30:22 EDT 2008


Author: glynn
Date: 2008-08-22 11:30:22 -0400 (Fri, 22 Aug 2008)
New Revision: 33001

Modified:
   grass/trunk/general/g.parser/main.c
Log:
Clean up formatting


Modified: grass/trunk/general/g.parser/main.c
===================================================================
--- grass/trunk/general/g.parser/main.c	2008-08-22 15:21:38 UTC (rev 33000)
+++ grass/trunk/general/g.parser/main.c	2008-08-22 15:30:22 UTC (rev 33001)
@@ -276,15 +276,10 @@
 	translate_output = 1;
     }
 
-    if ((argc < 2 + translate_output) || (argc >= 2 && ((strcmp
-							 (argv[1],
-							  "help") == 0) ||
-							(strcmp
-							 (argv[1],
-							  "-help") == 0) ||
-							(strcmp
-							 (argv[1],
-							  "--help") == 0)))) {
+    if ((argc < 2 + translate_output) || (argc >= 2 &&
+					  ((strcmp(argv[1], "help") == 0) ||
+					   (strcmp(argv[1], "-help") == 0) ||
+					   (strcmp(argv[1], "--help") == 0)))) {
 	fprintf(stderr, "Usage: %s [-t] <filename> [<argument> ...]\n",
 		argv[0]);
 	return 1;



More information about the grass-commit mailing list