chiark / gitweb /
cleanup: All the whitespace fixes, all at once.
[mLib] / traceopt.c
index e1c26241b3537080951c82f23c9020f2542f6e07..2d1594fa2e9ed07e8668be3587f47285e13c1cc9 100644 (file)
@@ -1,13 +1,13 @@
 /* -*-c-*-
  *
- * $Id: traceopt.c,v 1.2 2001/02/03 16:25:43 mdw Exp $
+ * $Id: traceopt.c,v 1.3 2004/04/08 01:36:13 mdw Exp $
  *
  * Parsing tracing options
  *
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: traceopt.c,v $
- * Revision 1.2  2001/02/03 16:25:43  mdw
- * Various bug fixes: understand requests for help properly, and fix the
- * logic for flag letters with `bad' flags.
- *
- * Revision 1.1  1999/10/22 22:40:08  mdw
- * Separate function for parsing user trace specs.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include <stdio.h>
@@ -77,7 +65,7 @@ unsigned traceopt(const trace_opt *t, const char *p,
     for (tt = t; tt->ch; tt++) {
       if (!(tt->f & ~bad) || !tt->help)
        continue;
-      printf("  `%c': %s\n", tt->ch, tt->help);
+      printf(" `%c': %s\n", tt->ch, tt->help);
     }
     return (f);
   }