Help message
This commit is contained in:
parent
edca668e4d
commit
57a2f9e940
16
bpm-graph
16
bpm-graph
|
|
@ -23,8 +23,20 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <file>" >&2
|
||||
usage()
|
||||
{
|
||||
cat <<END
|
||||
bpm-graph (C) Copyright 2013 Mark Hills <mark@xwax.org>
|
||||
|
||||
Usage: bpm-graph <file>
|
||||
Display tempo analysis data
|
||||
|
||||
See the bpm-graph(1) man page for more information.
|
||||
END
|
||||
}
|
||||
|
||||
if [ -z "$1" ] || [ "$1" = "-h" ]; then
|
||||
usage >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue