git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Klaus Weidner <kweidner@pobox.com>
To: git@vger.kernel.org
Subject: PATCH: fix cg-mkpatch "-f" option
Date: Fri, 14 Oct 2005 09:23:45 -0500	[thread overview]
Message-ID: <20051014142345.GB30663@w-m-p.com> (raw)

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

                 reply	other threads:[~2005-10-14 14:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051014142345.GB30663@w-m-p.com \
    --to=kweidner@pobox.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).