{"thread":{"id":"7473","subject":"[PATCH guilt] guilt: Add -h option to show man pages","startedAt":"2007-03-29T12:38:10Z","lastAt":"2007-03-29T17:24:38Z","messageCount":2,"participants":["Eric Lesh","Josef Sipek"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"38309","messageId":"1175171890.27597.5.camel@localhost","threadId":"7473","inReplyTo":null,"subject":"[PATCH guilt] guilt: Add -h option to show man pages","fromName":"Eric Lesh","fromEmail":"eclesh@ucla.edu","sentAt":"2007-03-29T12:38:10Z","receivedAt":"2007-03-29T12:38:10Z","isPatch":true,"sender":{"key":"eclesh@ucla.edu","avatar":null},"body":"From: Eric Lesh <eclesh@ucla.edu>\nDate: Thu, 29 Mar 2007 04:38:49 -0700\nSubject: [PATCH] guilt: Add -h option to show man pages\n\ngit-sh-setup steals the -h|--h* argument and prints the usage message\nof the command that calls it, which in this case is guilt.  Rather than\nprint the unhelpful guilt usage message, call guilt-help on the given\ncommand instead.\n\nSigned-off-by: Eric Lesh <eclesh@ucla.edu>\n---\n guilt |    8 ++++++++\n 1 files changed, 8 insertions(+), 0 deletions(-)\n\ndiff --git a/guilt b/guilt\nindex b1ab5a1..88f5a1b 100755\n--- a/guilt\n+++ b/guilt\n@@ -9,6 +9,14 @@ GUILT_NAME=\"Space Rock\"\n # we change directories ourselves\n SUBDIRECTORY_OK=1\n \n+case $1 in\n+\t-h|--h|--he|--hel|--help)\n+\tdir=`dirname $0`\n+\tshift\n+\texec \"$dir/guilt-help\" \"$@\"\n+\texit\n+esac\n+\n . git-sh-setup\n \n function guilt_commands\n-- \n1.5.1-rc1.GIT\n"},{"id":"38339","messageId":"20070329172438.GA13254@filer.fsl.cs.sunysb.edu","threadId":"7473","inReplyTo":"1175171890.27597.5.camel@localhost","subject":"Re: [PATCH guilt] guilt: Add -h option to show man pages","fromName":"Josef Sipek","fromEmail":"jsipek@fsl.cs.sunysb.edu","sentAt":"2007-03-29T17:24:38Z","receivedAt":"2007-03-29T17:24:38Z","isPatch":true,"sender":{"key":"jsipek@fsl.cs.sunysb.edu","avatar":null},"body":"On Thu, Mar 29, 2007 at 05:38:10AM -0700, Eric Lesh wrote:\n> From: Eric Lesh <eclesh@ucla.edu>\n> Date: Thu, 29 Mar 2007 04:38:49 -0700\n> Subject: [PATCH] guilt: Add -h option to show man pages\n\nThanks for all (4) of the patches. I applied them, and pushed them to\nkernel.org.\n\nJosef \"Jeff\" Sipek.\n\n-- \nNT is to UNIX what a doughnut is to a particle accelerator.\n"}]}