git: vkernel - Add usage()

Samuel Greear sjg at crater.dragonflybsd.org
Thu Dec 9 22:18:04 PST 2010


commit 278c4e670b430ae79c054a05fbec9b4d70f1747f
Author: Samuel J. Greear <sjg at thesjg.com>
Date:   Fri Dec 10 04:58:22 2010 +0000

    vkernel - Add usage()
    
    * Adds a new argument -h, which prints extended usage information
    
    * Prints typical usage information (same as manpage) when no arguments are
      specified or an invalid argument is given. Otherwise, error output is the
      same as before.
    
    * Convert to sysexits(3)
    
    Sponsored-By: Google Code-In

Summary of changes:
 share/man/man7/vkernel.7               |    4 +-
 sys/platform/vkernel/platform/init.c   |   69 +++++++++++++++++++++++++-------
 sys/platform/vkernel64/platform/init.c |   69 +++++++++++++++++++++++++-------
 3 files changed, 111 insertions(+), 31 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/278c4e670b430ae79c054a05fbec9b4d70f1747f


-- 
DragonFly BSD source repository





More information about the Commits mailing list