git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TopGit PATCH] help: use pager
@ 2009-06-02 20:35 Bert Wesarg
  0 siblings, 0 replies; only message in thread
From: Bert Wesarg @ 2009-06-02 20:35 UTC (permalink / raw)
  To: Petr Baudis, Petr Baudis
  Cc: Bert Wesarg, git, martin f krafft, Uwe Kleine-Koenig

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>

---
 tg.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tg.sh b/tg.sh
index 8c174fb..4185ba2 100644
--- a/tg.sh
+++ b/tg.sh
@@ -269,7 +269,8 @@ 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"
-- 
tg: (b725fc9..) bw/use-pager-for-help-output (depends on: master)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-02 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-02 20:35 [TopGit PATCH] help: use pager Bert Wesarg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).