diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-26 15:55:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-26 15:55:17 -0700 |
commit | 97a9e546a27c98512fef39cd457a4da6dbb5063a (patch) | |
tree | 55207e0a032260173dda66b3ef154d452a979c49 /builtin/stripspace.c | |
parent | Merge branch 'mr/worktree-list' (diff) | |
parent | usage: do not insist that standard input must come from a file (diff) | |
download | tgif-97a9e546a27c98512fef39cd457a4da6dbb5063a.tar.xz |
Merge branch 'jc/usage-stdin'
The synopsis text and the usage string of subcommands that read
list of things from the standard input are often shown as if they
only take input from a file on a filesystem, which was misleading.
* jc/usage-stdin:
usage: do not insist that standard input must come from a file
Diffstat (limited to 'builtin/stripspace.c')
-rw-r--r-- | builtin/stripspace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/stripspace.c b/builtin/stripspace.c index 1259ed708b..958567a0cd 100644 --- a/builtin/stripspace.c +++ b/builtin/stripspace.c @@ -78,8 +78,8 @@ static void comment_lines(struct strbuf *buf) } static const char *usage_msg = "\n" -" git stripspace [-s | --strip-comments] < input\n" -" git stripspace [-c | --comment-lines] < input"; +" git stripspace [-s | --strip-comments]\n" +" git stripspace [-c | --comment-lines]"; int cmd_stripspace(int argc, const char **argv, const char *prefix) { |