pacdiff: clean up and reword --help
Clean up and reword --help get rid of all the echos to make it easier to read in source. Signed-off-by: Jonathan Frazier <eyeswide@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
c4d8da4727
commit
bcde027091
@ -32,12 +32,22 @@ m4_include(../scripts/library/output_format.sh)
|
|||||||
m4_include(../scripts/library/term_colors.sh)
|
m4_include(../scripts/library/term_colors.sh)
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "$myname : a simple pacnew/pacorig/pacsave updater"
|
cat <<EOF
|
||||||
echo "Usage : $myname [-l]"
|
$myname is a simple pacnew/pacorig/pacsave updater.
|
||||||
echo " -l/--locate makes $myname use locate rather than find"
|
|
||||||
echo " DIFFPROG variable allows to override the default vimdiff"
|
Usage: $myname [-l]
|
||||||
echo " DIFFSEARCHPATH allows to override the default /etc path"
|
|
||||||
echo "Example : DIFFPROG=meld DIFFSEARCHPATH=\"/boot /etc /usr\" $myname"
|
Options:
|
||||||
|
-l/--locate scan using locate (default: find)
|
||||||
|
|
||||||
|
Enviroment Variables:
|
||||||
|
DIFFPROG override the merge program: (default: vimdiff)
|
||||||
|
DIFFSEARCHPATH override the search path. (only when using find)
|
||||||
|
(default: /etc)
|
||||||
|
|
||||||
|
Example: DIFFPROG=meld DIFFSEARCHPATH="/boot /etc /usr" $myname
|
||||||
|
|
||||||
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
|
Loading…
Reference in New Issue
Block a user