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

[PATCH] help: warn if specified 'man.viewer' is unsupported, instead of erroring out

From
Christian Couder <chriscool@tuxfamily.org>
Date
Mar 13, 2008, 06:10 UTC
Message-ID
<20080313071040.bbf5528b.chriscool@tuxfamily.org>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 help.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
	This was suggested by Xavier Maillard.
diff --git a/help.c b/help.c
index 5da8c9c..ecaca77 100644
--- a/help.c
+++ b/help.c
@@ -139,7 +139,7 @@ static int add_man_viewer(const char *value)
 	else if (!strcasecmp(value, "konqueror"))
 		do_add_man_viewer(exec_man_konqueror);
 	else
-		return error("'%s': unsupported man viewer.", value);
+		warning("'%s': unsupported man viewer.", value);
 
 	return 0;
 }
-- 
1.5.4.3.395.g492b.dirty
Next: Junio C Hamano
Message 1 of 3 in “help: warn if specified 'man.viewer' is unsupported, instead of erroring out”
  1. help: warn if specified 'man.viewer' is unsupported, instead of erroring outChristian Couder, Mar 13, 2008
  2. Junio C HamanoMar 13, 2008
  3. Xavier MaillardMar 14, 2008

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.