* [PATCH] Remove '< >' from [<options>] since it's not necessary.
@ 2009-09-20 19:48 Thiago Farina
2009-09-20 20:52 ` tom fogal
0 siblings, 1 reply; 4+ messages in thread
From: Thiago Farina @ 2009-09-20 19:48 UTC (permalink / raw)
To: git; +Cc: Thiago Farina
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
---
builtin-log.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-log.c b/builtin-log.c
index 25e21ed..1685546 100644
--- a/builtin-log.c
+++ b/builtin-log.c
@@ -28,7 +28,7 @@ static const char *fmt_patch_subject_prefix = "PATCH";
static const char *fmt_pretty;
static const char * const builtin_log_usage =
- "git log [<options>] [<since>..<until>] [[--] <path>...]\n"
+ "git log [options] [<since>..<until>] [[--] <path>...]\n"
" or: git show [options] <object>...";
static void cmd_log_init(int argc, const char **argv, const char *prefix,
--
1.6.5.rc1.37.gf5c31.dirty
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Remove '< >' from [<options>] since it's not necessary.
2009-09-20 19:48 [PATCH] Remove '< >' from [<options>] since it's not necessary Thiago Farina
@ 2009-09-20 20:52 ` tom fogal
2009-09-20 21:12 ` tom fogal
2009-09-21 6:50 ` Matthieu Moy
0 siblings, 2 replies; 4+ messages in thread
From: tom fogal @ 2009-09-20 20:52 UTC (permalink / raw)
To: git; +Cc: Thiago Farina
Thiago Farina <tfransosi@gmail.com> writes:
> - "git log [<options>] [<since>..<until>] [[--] <path>...]\n"
> + "git log [options] [<since>..<until>] [[--] <path>...]\n"
> " or: git show [options] <object>...";
To me, "<blah>" implies to me that the other meant, "something which
is sort-of `blah'-ish but is not actually the string literal, `blah'",
whereas `blah' means, "the string literal, `blah'."
-tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Remove '< >' from [<options>] since it's not necessary.
2009-09-20 20:52 ` tom fogal
@ 2009-09-20 21:12 ` tom fogal
2009-09-21 6:50 ` Matthieu Moy
1 sibling, 0 replies; 4+ messages in thread
From: tom fogal @ 2009-09-20 21:12 UTC (permalink / raw)
To: git; +Cc: Thiago Farina
tom fogal <tfogal@alumni.unh.edu> writes:
> Thiago Farina <tfransosi@gmail.com> writes:
> > - "git log [<options>] [<since>..<until>] [[--] <path>...]\n"
> > + "git log [options] [<since>..<until>] [[--] <path>...]\n"
> > " or: git show [options] <object>...";
>
> To me, "<blah>" implies to me that the other meant, "something which
^^^^^
... author. sorry.
-tom
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] Remove '< >' from [<options>] since it's not necessary.
2009-09-20 20:52 ` tom fogal
2009-09-20 21:12 ` tom fogal
@ 2009-09-21 6:50 ` Matthieu Moy
1 sibling, 0 replies; 4+ messages in thread
From: Matthieu Moy @ 2009-09-21 6:50 UTC (permalink / raw)
To: tom fogal; +Cc: git, Thiago Farina
tom fogal <tfogal@alumni.unh.edu> writes:
> Thiago Farina <tfransosi@gmail.com> writes:
>> - "git log [<options>] [<since>..<until>] [[--] <path>...]\n"
>> + "git log [options] [<since>..<until>] [[--] <path>...]\n"
>> " or: git show [options] <object>...";
>
> To me, "<blah>" implies to me that the author meant, "something which
> is sort-of `blah'-ish but is not actually the string literal, `blah'",
> whereas `blah' means, "the string literal, `blah'."
Strictly speaking, you're right, but in the particular case of
[options], it's rather well established that it means "one or several
options", and not the litteral "option". In any case, we should be
consistant:
Documentation$ grep -n '\[<options>\]' *.txt
git-log.txt:11:'git log' [<options>] [<since>..<until>] [[\--] <path>...]
git-stash.txt:11:'git stash' list [<options>]
git-stash.txt:67:list [<options>]::
Documentation$ grep -n '\[options\]' *.txt
git-annotate.txt:10:'git annotate' [options] file [revision]
gitcli.txt:84:usage: git-describe [options] <committish>*
git-cvsserver.txt:25:'git cvsserver' [options] [pserver|server] [<directory> ...]
git-fast-export.txt:11:'git fast-export [options]' | 'git fast-import'
git-fast-import.txt:11:frontend | 'git fast-import' [options]
git-rebase.txt:11:'git rebase' [-i | --interactive] [options] [--onto <newbase>]
git-rebase.txt:13:'git rebase' [-i | --interactive] [options] --onto <newbase>
git-rev-parse.txt:405:some-command [options] <args>...
git-send-email.txt:11:'git send-email' [options] <file|directory|rev-list options>...
git-show.txt:11:'git show' [options] <object>...
git-svn.txt:10:'git svn' <command> [options] [arguments]
=> either get rid of the 3 occurences of [<options>], not just one, or
get rid of all the [options]. My vote goes for the first.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-09-21 6:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-20 19:48 [PATCH] Remove '< >' from [<options>] since it's not necessary Thiago Farina
2009-09-20 20:52 ` tom fogal
2009-09-20 21:12 ` tom fogal
2009-09-21 6:50 ` Matthieu Moy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.