cvs commit: src/usr.bin/indent args.c indent.1 indent.c indent_globs.h

Bruce Evans bde at FreeBSD.org
Mon Feb 9 13:48:52 PST 2004


bde         2004/02/09 13:48:51 PST

  FreeBSD src repository

  Modified files:
    usr.bin/indent       args.c indent.1 indent.c indent_globs.h 
  Log:
  Added an option -ldi<N> to control indentation of local variable names.
  The default is to be backwards compatible and non-KNF (use the same
  indentation for locals as for globals; -ldi0 gives KNF indentation
  for locals (none)).  The indentation for globals also applies to struct
  member names in local declatations.  The indentation of variable names
  in multi-line declarations is broken in various ways and this commit
  gives some new variations.
  
  indent.1:
  Also clarified the description of -di<N>.
  
  Revision  Changes    Path
  1.12      +1 -0      src/usr.bin/indent/args.c
  1.16      +11 -2     src/usr.bin/indent/indent.1
  1.22      +14 -2     src/usr.bin/indent/indent.c
  1.9       +1 -0      src/usr.bin/indent/indent_globs.h


More information about the cvs-src mailing list