]> git.notmuchmail.org Git - notmuch/commitdiff
Fix printing of literal '%' in help message.
authorCarl Worth <cworth@cworth.org>
Tue, 24 Nov 2009 02:36:14 +0000 (18:36 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 24 Nov 2009 02:36:14 +0000 (18:36 -0800)
I suppose I could have just used puts instead...

notmuch.c

index 24f872882471baa50482a8730d63504046c05c23..b84e28445e81f6924d1ee5d67a189077a51277cd 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -104,7 +104,7 @@ static const char search_terms_help[] =
     "\t\tfollowing syntax would specify a date range to return messages\n"
     "\t\tfrom 2009-10-01 until the current time:\n"
     "\n"
-    "\t\t\t$(date +%s -d 2009-10-01)..$(date +%s)\n\n";
+    "\t\t\t$(date +%%s -d 2009-10-01)..$(date +%%s)\n\n";
 
 command_t commands[] = {
     { "setup", notmuch_setup_command,