chiark / gitweb /
Merge commit 'refs/top-bases/debian/locations' into debian/locations
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 23 Sep 2009 18:41:10 +0000 (20:41 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 23 Sep 2009 18:41:10 +0000 (20:41 +0200)
1  2 
tg.sh

diff --cc tg.sh
--- 1/tg.sh
--- 2/tg.sh
+++ b/tg.sh
@@@ -268,10 -269,11 +269,11 @@@ do_help(
                echo "TopGit v$TG_VERSION - A different patch queue manager"
                echo "Usage: tg [-r REMOTE] ($cmds|help) ..."
        elif [ -r "@cmddir@"/tg-$1 ] ; then
-               @cmddir@/tg-$1 -h || :
+               setup_pager
+               @cmddir@/tg-$1 -h 2>&1 || :
                echo
 -              if [ -r "@sharedir@/tg-$1.txt" ] ; then
 -                      cat "@sharedir@/tg-$1.txt"
 +              if [ -r "@docdir@/tg-$1.txt" ] ; then
 +                      cat "@docdir@/tg-$1.txt"
                fi
        else
                echo "`basename $0`: no help for $1" 1>&2