PATCH: fix cg-mkpatch "-f" option

From: Klaus Weidner <hidden>
Date: 2016-06-15 22:42:09

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help