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

PATCH: fix cg-mkpatch "-f" option

From
KWKlaus Weidner <kweidner@pobox.com>
Date
Oct 14, 2005, 14:23 UTC
Message-ID
<20051014142345.GB30663@w-m-p.com>
Hello, 

in cogito-0.15.1, the "-f" option to specify a format string for output filenames didn't work, it was getting an empty OPTARG. The following patch fixes it for me.

-Klaus

--- cogito/cg-mkpatch.orig 2005-10-14 09:16:04.000000000 -0500 +++ cogito/cg-mkpatch 2005-10-14 09:16:33.000000000 -0500

@@ -119,7 +119,7 @@
 		mergebase=1
 	elif optparse -d=; then
 		outdir="$OPTARG"
-	elif optparse -f; then
+	elif optparse -f=; then
 		fileformat="$OPTARG"
 	else
 		optfail
Message 1 of 1 in “PATCH: fix cg-mkpatch "-f" option”
  1. Klaus WeidnerOct 14, 2005

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.