IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13563


Ignore:
Timestamp:
May 30, 2007, 4:57:51 PM (19 years ago)
Author:
jhoblitt
Message:

tweak psArgumentHelpSimple() formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psArguments.c

    r13559 r13563  
    77 *  @author David Robbins, MHPCC
    88 *
    9  *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2007-05-31 00:12:41 $
     9 *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2007-05-31 02:57:51 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3232#include "psAssert.h"
    3333
    34 #define NUM_SPACES 4   // Number of spaces between
     34#define NUM_SPACES 2   // Number of spaces between
    3535
    3636// Set verbosity level
     
    510510    PS_ASSERT_PTR_NON_NULL(arguments, );
    511511
    512     printf("Optional arguments:\n");
    513512    int maxName = 4;   // Maximum length of a name
    514513    int maxValue = 4;   // Maximum length of a value
     
    522521    while ((item = psMetadataGetAndIncrement(iter))) {
    523522        // Initial indent + name + indent + comment
    524         printf("%*s%*s%*s%s\n",
     523        printf("%*s" "%-*s" "%*s" "%s\n",
    525524                NUM_SPACES, " ",
    526525                maxName, item->name,
Note: See TracChangeset for help on using the changeset viewer.