git: tail(1): Add -v flag to always print a header

Aaron LI aly at crater.dragonflybsd.org
Sat Jun 20 00:19:51 PDT 2020


commit f038181408e47684b271228c89bece66119a4bdb
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Jun 20 11:52:32 2020 +0800

    tail(1): Add -v flag to always print a header
    
    * Add the '-v' flag to always print a header for each file, even if only
      a single file is specified.  Obtained from NetBSD.
    * Add '__dead2' attribute to the non-return function 'usage()'.
    * Improve several markups in the man page.

Summary of changes:
 usr.bin/tail/extern.h  |  2 +-
 usr.bin/tail/forward.c |  2 +-
 usr.bin/tail/tail.1    | 34 ++++++++++++++++++++++++----------
 usr.bin/tail/tail.c    | 23 ++++++++++++++---------
 4 files changed, 40 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f038181408e47684b271228c89bece66119a4bdb


-- 
DragonFly BSD source repository


More information about the Commits mailing list