git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [GUILT 4/5] doc: don't use guilt-foo invocations in usage messages.

From
JSJeff Sipek <jeffpc@josefsipek.net>
Date
Jan 23, 2015, 14:27 UTC
Message-ID
<20150123142731.GD101465@meili.jeffnet.31bits.net>
In-Reply-To
<1422019499-2012-5-git-send-email-cederp@opera.com>

Ah, I see you changed usage.sh here. I guess that kinda invalidates my comment for patch 1/5.

On Fri, Jan 23, 2015 at 02:24:58PM +0100, Per Cederqvist wrote:
Show 15 quoted lines
> Signed-off-by: Per Cederqvist <cederp@opera.com>
> ---
>  Documentation/usage.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/usage.sh b/Documentation/usage.sh
> index 629f546..9cc49f7
> --- a/Documentation/usage.sh
> +++ b/Documentation/usage.sh
> @@ -2,4 +2,4 @@
>  
>  name=$(basename $1)
>  u=$(grep USAGE $1 |  sed 's/USAGE="//' | sed 's/"$//') 
> -echo "'$name' $u"  > usage-$name.txt
> +echo "'`echo $name|sed -e 's/^guilt-/guilt /'`' $u"  > usage-$name.txt
Tiny nitpick: spaces around the |, otherwise looks good.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
> -- 
> 2.1.0
> 
-- 
Si hoc legere scis nimium eruditionis habes.
Previous: Per CederqvistNext: Per Cederqvist
Message 11 of 13 in “[GUILT 0/5] doc: less guilt-foo invocations, minor Makefile fixes”
  1. Per CederqvistJan 23, 2015
  2. 1/5 Fix generation of Documentation/usage-%.txt.Per Cederqvist, Jan 23, 2015
  3. Jeff SipekJan 23, 2015
  4. Per CederqvistJan 23, 2015
  5. Jeff SipekJan 23, 2015
  6. 2/5 doc: guilt.xml depends on cmds.txt.Per Cederqvist, Jan 23, 2015
  7. Jeff SipekJan 23, 2015
  8. 3/5 doc: don't use guilt-foo invocations in examples.Per Cederqvist, Jan 23, 2015
  9. Jeff SipekJan 23, 2015
  10. 4/5 doc: don't use guilt-foo invocations in usage messages.Per Cederqvist, Jan 23, 2015
  11. Jeff SipekJan 23, 2015
  12. 5/5 doc: git doesn't use git-foo invocations.Per Cederqvist, Jan 23, 2015
  13. Jeff SipekJan 23, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.