summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMartin Quinson <mquinson@debian.org>2004-06-01 17:24:10 +0000
committerMartin Quinson <mquinson@debian.org>2004-06-01 17:24:10 +0000
commitbf93910f606db16fdaa9c59fdbdeae20c80a58b9 (patch)
tree190fbef97ac664b5d267daee342991474703d7b1 /bin
parentc7d2c8fd96503b8a357b7550f93428071e37b055 (diff)
downloadquilt-bf93910f606db16fdaa9c59fdbdeae20c80a58b9.tar.gz
document common options to all scripts (--trace and --quiltrc)
Diffstat (limited to 'bin')
-rw-r--r--bin/quilt.in23
1 files changed, 11 insertions, 12 deletions
diff --git a/bin/quilt.in b/bin/quilt.in
index 3dcd5a3..858ae88 100644
--- a/bin/quilt.in
+++ b/bin/quilt.in
@@ -12,23 +12,22 @@ export QUILTRC=$HOME/.quiltrc
usage()
{
- echo $"Usage: quilt command [-h] ..."
- #echo $"Commands are:" $(
- # local command
- # for command in @QUILT@/*
- # do
- # if [ -f "$command" -a -x "$command" ]
- # then
- # echo "${command#@QUILT@/}"
- # fi
- # done \
- # | sort
- #)
+ echo $"Usage: quilt [--trace] [--quiltrc=XX] command [-h] ..."
+
echo $"Commands are:"
quilt_commands \
| sort \
| column | column -t \
| sed -e $'s/^/\t/'
+ echo $"
+Common options to all commands:
+
+--trace
+ Runs the command in bash trace mode (-x). For internal debugging.
+
+--quiltrc file
+ Use the specified configuration file instead of ~/.quiltrc.
+ See pdf documentation for details about its possible content."
exit 1
}