From 2b8a1f54866e65ef04772b7942b8b2ef5e48f11f Mon Sep 17 00:00:00 2001 From: Ben Muschol Date: Sun, 19 Nov 2017 15:16:21 -0500 Subject: [PATCH] More informative message when repo slug is incorrect --- lib/travis/cli/repo_command.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/travis/cli/repo_command.rb b/lib/travis/cli/repo_command.rb index afad3af7..cbc6f4e0 100644 --- a/lib/travis/cli/repo_command.rb +++ b/lib/travis/cli/repo_command.rb @@ -28,6 +28,7 @@ def repository repo(slug) rescue Travis::Client::NotFound error "repository not known to #{api_endpoint}: #{color(slug, :important)}" + error "you can override the auto-detected repo slug with the -r option" end private