{"thread":{"id":"2956","subject":"[PATCH] git potty: grok 'help' to mean '--help'.","startedAt":"2006-01-03T09:53:54Z","lastAt":"2006-01-03T09:53:54Z","messageCount":1,"participants":["Andreas Ericsson"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"14132","messageId":"20060103095354.25A1C5BA16@nox.op5.se","threadId":"2956","inReplyTo":null,"subject":"[PATCH] git potty: grok 'help' to mean '--help'.","fromName":"Andreas Ericsson","fromEmail":"exon@op5.se","sentAt":"2006-01-03T09:53:54Z","receivedAt":"2006-01-03T09:53:54Z","isPatch":true,"sender":{"key":"exon@op5.se","avatar":"https://gravatar.com/avatar/b948c4f759e868f8e721e545e37afe2cf89cfa8e2ee8b70a432f0d76aee39891?d=mp&s=160"},"body":"\nMost other scm's understand it, most users expect it and it's an easy fix.\n\nSigned-off-by: Andreas Ericsson <ae@op5.se>\n\n---\n\n git.c |    5 +++++\n 1 files changed, 5 insertions(+), 0 deletions(-)\n\nbd2573445899c427adac66f2b0fe4643461ab280\ndiff --git a/git.c b/git.c\nindex e795ddb..5e7da74 100644\n--- a/git.c\n+++ b/git.c\n@@ -244,6 +244,11 @@ int main(int argc, char **argv, char **e\n \tfor (i = 1; i < argc; i++) {\n \t\tchar *arg = argv[i];\n \n+\t\tif (!strcmp(arg, \"help\")) {\n+\t\t\tshow_help = 1;\n+\t\t\tcontinue;\n+\t\t}\n+\n \t\tif (strncmp(arg, \"--\", 2))\n \t\t\tbreak;\n \n-- \n1.0.6-g58e3\n"}]}