* [PATCH] notmuch.c: Shorten version string
@ 2010-04-16 7:06 Sebastian Spaeth
2010-04-16 14:36 ` Carl Worth
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Spaeth @ 2010-04-16 7:06 UTC (permalink / raw)
To: Notmuch developer list
We previously output "notmuch version 0.1" as response to notmuch --version.
Shorten this to "notmuch 0.1" as we know that we will receive a version
number when we explicitely ask for it.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
---
notmuch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notmuch.c b/notmuch.c
index dcfda32..0eea5e1 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -474,7 +474,7 @@ main (int argc, char *argv[])
return notmuch_help_command (NULL, 0, NULL);
if (STRNCMP_LITERAL (argv[1], "--version") == 0) {
- printf ("notmuch version " STRINGIFY(NOTMUCH_VERSION) "\n");
+ printf ("notmuch " STRINGIFY(NOTMUCH_VERSION) "\n");
return 0;
}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] notmuch.c: Shorten version string
2010-04-16 7:06 [PATCH] notmuch.c: Shorten version string Sebastian Spaeth
@ 2010-04-16 14:36 ` Carl Worth
0 siblings, 0 replies; 2+ messages in thread
From: Carl Worth @ 2010-04-16 14:36 UTC (permalink / raw)
To: Sebastian Spaeth, Notmuch developer list
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
On Fri, 16 Apr 2010 09:06:02 +0200, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
> We previously output "notmuch version 0.1" as response to notmuch --version.
> Shorten this to "notmuch 0.1" as we know that we will receive a version
> number when we explicitely ask for it.
Thanks for the reminder. Pushed.
-Carl
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-16 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-16 7:06 [PATCH] notmuch.c: Shorten version string Sebastian Spaeth
2010-04-16 14:36 ` Carl Worth
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).