Fixed a bug in whatwhen()' help output
authorFrank Terbeck <ft@grml.org>
Wed, 28 Jul 2010 14:42:04 +0000 (16:42 +0200)
committerFrank Terbeck <ft@grml.org>
Wed, 28 Jul 2010 14:42:04 +0000 (16:42 +0200)
Found by Joerg Woelke. Thanks!

Signed-off-by: Frank Terbeck <ft@grml.org>
debian/changelog
etc/zsh/zshrc

index a7fc952..b0c66c5 100644 (file)
@@ -2,6 +2,7 @@ grml-etc-core (0.3.84) UNRELEASED; urgency=low
 
   [ Frank Terbeck ]
   * zshrc: Remove git-get-*() as discussed on IRC.
+  * zshrc: Fixied a bug in whatwhen(); found be Joerg Woelke.
   * grmlzshrc.t2t: Remove references to git-get-*().
 
   [ Carsten Hey ]
@@ -14,7 +15,7 @@ grml-etc-core (0.3.84) UNRELEASED; urgency=low
   * zshrc: Comment out the non-working `zurl' function.
   * grmlzshrc.t2t: documentation updates.
 
- -- Frank Terbeck <ft@grml.org>  Wed, 28 Jul 2010 16:14:18 +0200
+ -- Frank Terbeck <ft@grml.org>  Wed, 28 Jul 2010 16:41:26 +0200
 
 grml-etc-core (0.3.83) unstable; urgency=low
 
index 720c81f..55268d0 100644 (file)
@@ -4201,7 +4201,7 @@ whatwhen()  {
     emulate -L zsh
     local usage help ident format_l format_s first_char remain first last
     usage='USAGE: whatwhen [options] <searchstring> <search range>'
-    help='Use' \`'whatwhen -h'\'' for further explanations.'
+    help='Use `whatwhen -h'\'' for further explanations.'
     ident=${(l,${#${:-Usage: }},, ,)}
     format_l="${ident}%s\t\t\t%s\n"
     format_s="${format_l//(\\t)##/\\t}"