git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Han-Wen Nienhuys <hanwen@xs4all.nl>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Andy Whitcroft <apw@shadowen.org>, git@vger.kernel.org
Subject: Re: weird strncmp usage?
Date: Thu, 02 Nov 2006 10:59:14 +0100	[thread overview]
Message-ID: <4549C172.3090604@xs4all.nl> (raw)
In-Reply-To: <Pine.LNX.4.63.0611021008180.1670@wbgn013.biozentrum.uni-wuerzburg.de>

Johannes Schindelin escreveu:

> However, in this case, you would need another macro, which automatically 
> extracts the argument, and soon you will end up with yet another getopt 
> package.

It puzzles me that git doesn't use getopt.  Git is rare in not accepting

  --option arg

but only

  --option=arg

Also, -abc doesn't seem to work for combining options.

-- 

  reply	other threads:[~2006-11-02  9:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02  1:26 weird strncmp usage? Han-Wen Nienhuys
2006-11-02  1:44 ` Andy Whitcroft
2006-11-02  6:51   ` Jeff King
2006-11-02  9:15     ` Johannes Schindelin
2006-11-02  9:59       ` Han-Wen Nienhuys [this message]
2006-11-02 11:04   ` Petr Baudis
2006-11-03 21:05   ` Florian Weimer

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=4549C172.3090604@xs4all.nl \
    --to=hanwen@xs4all.nl \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=apw@shadowen.org \
    --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).