[GRASS-SVN] r33003 - grass/branches/develbranch_6/general/g.parser

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


Author: martinl
Date: 2008-08-22 11:34:12 -0400 (Fri, 22 Aug 2008)
New Revision: 33003

Modified:
   grass/branches/develbranch_6/general/g.parser/main.c
Log:
glynn: Clean up formatting (merge from devbr6, r33001)


Modified: grass/branches/develbranch_6/general/g.parser/main.c
===================================================================
--- grass/branches/develbranch_6/general/g.parser/main.c	2008-08-22 15:32:53 UTC (rev 33002)
+++ grass/branches/develbranch_6/general/g.parser/main.c	2008-08-22 15:34:12 UTC (rev 33003)
@@ -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