~asac/live-build/live-helper.install-kernel-with-no-initramfs

« back to all changes in this revision

Viewing changes to functions/usage.sh

  • Committer: Daniel Baumann
  • Date: 2007-09-23 08:04:47 UTC
  • Revision ID: git-v1:f4383da69d4642521cb07f8f970d9c9c759b44ee
Tags: 1.0_a2-1
Adding live-helper 1.0~a2-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# usage.sh - handle usage information
 
4
 
 
5
Usage ()
 
6
{
 
7
        echo "${PROGRAM} - ${DESCRIPTION}"
 
8
        echo
 
9
        echo "${USAGE}"
 
10
        echo "Usage: ${PROGRAM} [-h|--help]"
 
11
        echo "Usage: ${PROGRAM} [-u|--usage]"
 
12
        echo "Usage: ${PROGRAM} [-v|--version]"
 
13
        echo
 
14
        echo "Try \"${PROGRAM} --help\" for more information."
 
15
        exit 1
 
16
}