git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: Using '--help' for aliases
Date: Thu, 22 Jun 2017 00:44:02 +0530	[thread overview]
Message-ID: <1498072442.32360.20.camel@gmail.com> (raw)
In-Reply-To: <20170621185518.nhnqlkbt63hdoate@sigill.intra.peff.net>

On Wed, 2017-06-21 at 14:55 -0400, Jeff King wrote:
> It could do that. I think we even discussed it at one point,
> but I
> didn't dig up the thread. However, you have the problem that running
> "man checkout" is likely to clobber the mention of the alias. So the
> question is whether it is more important to tell the user that it's
> an
> alias (and which options the alias is using!),
Now, that's something I didn't think of. Does seem to quite an issue as
aliases accept argument this.

I seem to be getting the idea of '--help' just now. All these days, I
was actually considering it to be another way of getting to the man
page of a command. Have to play with it a little to see in what other
ways '--help' could help me! In case there's anything that's so useful
about it that I'm missing, let me know.

>  or to show them the
> referred command's manpage.
> 
> -Peff

-- 
Regards,
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>

  reply	other threads:[~2017-06-21 19:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21 18:41 Using '--help' for aliases Kaartic Sivaraam
2017-06-21 18:55 ` Jeff King
2017-06-21 19:14   ` Kaartic Sivaraam [this message]
2017-06-22  5:39     ` Samuel Lijin
2017-06-24 17:20 ` brian m. carlson

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=1498072442.32360.20.camel@gmail.com \
    --to=kaarticsivaraam91196@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).