Sort options in usage. Break lines appropriately.

This commit is contained in:
wiz 2009-02-20 07:50:15 +00:00
parent faa6228e9d
commit 9cf0bcd52a
2 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: cddist.sh,v 1.1 2008/01/28 23:06:13 dmcmahill Exp $
# $NetBSD: cddist.sh,v 1.2 2009/02/20 07:50:15 wiz Exp $
#
# Copyright (c) 2008 Dan McMahill, All rights reserved.
#
@ -65,9 +65,9 @@ touch $exclude
usage(){
cat << EOF
$prog - generates ISO9660 images for a multi-cd/dvd pkgsrc distfiles archive
Usage: $prog [-dvd] [-h|--help] [-l logfile] [-dRvV]
[-x dir] [-X dir] distfiles_directory cdimage_directory
$prog - generates ISO9660 images for a multi-CD/DVD pkgsrc distfiles archive
Usage: $prog [-dRVv] [-dvd] [-h|--help] [-l logfile]
[-X dir] [-x dir] distfiles_directory cdimage_directory
Example: $prog /usr/pkgsrc/packages/distfiles /images/distfiles
Please refer to the manual page for complete documentation."

View file

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: cdpack.sh,v 1.13 2009/02/20 05:16:51 dmcmahill Exp $
# $NetBSD: cdpack.sh,v 1.14 2009/02/20 07:50:15 wiz Exp $
#
# Copyright (c) 2001, 2002, 2003, 2005, 2009 Dan McMahill, All rights reserved.
#
@ -67,10 +67,10 @@ touch $exclude
usage(){
echo " "
echo "$prog - generates ISO9660 images for a multi-cd binary package collection"
echo "Usage: $prog [-ac | -ec] [-af | -ef] [-dvd] [-h|--help] [-l logfile] [-dnRvV]"
echo " [-o opsys] [-m machine] [-r release]"
echo " [-x dir] [-X dir] packages_directory cdimage_directory"
echo "$prog - generates ISO9660 images for a multi-CD/DVD binary package collection"
echo "Usage: $prog [-dnRVv] [-ac | -ec] [-af | -ef] [-dvd] [-h|--help]"
echo " [-l logfile] [-m machine] [-o opsys] [-r release]"
echo " [-X dir] [-x dir] packages_directory cdimage_directory"
echo "Example: $prog /usr/pkgsrc/packages/All /images/netbsd-1.5/alpha"
echo "Please refer to the manual page for complete documentation."
echo " "