Skip to content
Snippets Groups Projects
Commit 59a686e3 authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

Add extra message for unknown commands that are git commands.

parent be412369
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,9 @@ begin
Dir.chdir HOMEBREW_REPOSITORY
exec "git", "log", ARGV.formulae.first.path, *ARGV.options
when 'pull', 'push', 'checkout', 'branch'
onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"
else
onoe "Unknown command: #{arg}"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment