From 517055b6fcc5381888101af458091398fa235c40 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Thu, 21 Nov 2013 15:28:53 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11031 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/lammps.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/lammps.cpp b/src/lammps.cpp index a655bd8b44..d39a2ac5ec 100644 --- a/src/lammps.cpp +++ b/src/lammps.cpp @@ -13,6 +13,7 @@ #include "mpi.h" #include "string.h" +#include "ctype.h" #include "lammps.h" #include "style_angle.h" #include "style_atom.h" @@ -639,7 +640,7 @@ void LAMMPS::print_styles() printf("\n\n"); pos = 80; - printf("* Fix styles (upper case are only for internal use):\n"); + printf("* Fix styles\n"); #define FIX_CLASS #define FixStyle(key,Class) print_column(#key,pos); #include "style_fix.h" @@ -647,7 +648,7 @@ void LAMMPS::print_styles() printf("\n\n"); pos = 80; - printf("* Compute styles: (upper case are only for internal use):\n"); + printf("* Compute styles:\n"); #define COMPUTE_CLASS #define ComputeStyle(key,Class) print_column(#key,pos); #include "style_compute.h" @@ -671,7 +672,7 @@ void LAMMPS::print_styles() printf("\n\n"); pos = 80; - printf("* Command styles (add-on input script commands):\n"); + printf("* Command styles\n"); #define COMMAND_CLASS #define CommandStyle(key,Class) print_column(#key,pos); #include "style_command.h" @@ -681,10 +682,13 @@ void LAMMPS::print_styles() /* ---------------------------------------------------------------------- print style names in columns + skip any style that starts with upper-case letter, since internal ------------------------------------------------------------------------- */ void LAMMPS::print_column(const char *str, int &pos) { + if (isupper(str[0])) return; + int len = strlen(str); if (pos+len > 80) { fprintf(screen,"\n");