{"thread":{"id":"6362","subject":"[PATCH] git-remote: no longer silent on unknown commands.","startedAt":"2007-01-13T11:55:21Z","lastAt":"2007-01-13T11:55:21Z","messageCount":1,"participants":["Quy Tonthat"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"31633","messageId":"45A8C8A9.2030706@gmail.com","threadId":"6362","inReplyTo":null,"subject":"[PATCH] git-remote: no longer silent on unknown commands.","fromName":"Quy Tonthat","fromEmail":"qtonthat@gmail.com","sentAt":"2007-01-13T11:55:21Z","receivedAt":"2007-01-13T11:55:21Z","isPatch":true,"sender":{"key":"qtonthat@gmail.com","avatar":null},"body":"\n\nSigned-off-by: Quy Tonthat <qtonthat@gmail.com>\n---\n git-remote.perl |    7 ++++++-\n 1 files changed, 6 insertions(+), 1 deletions(-)\n\ndiff --git a/git-remote.perl b/git-remote.perl\nindex 059c141..fc055b6 100755\n--- a/git-remote.perl\n+++ b/git-remote.perl\n@@ -274,4 +274,9 @@ elsif ($ARGV[0] eq 'add') {\n \t}\n \tadd_remote($ARGV[1], $ARGV[2]);\n }\n-\n+else {\n+\tprint STDERR \"Usage: git remote\\n\";\n+\tprint STDERR \"       git remote add <name> <url>\\n\";\n+\tprint STDERR \"       git remote show <name>\\n\";\n+\texit(1);\n+}\n-- \n1.5.0.rc1\n"}]}