diff --git a/features/docs/getting_started.feature b/features/docs/getting_started.feature index ed6d9f64f9..4b3775b006 100644 --- a/features/docs/getting_started.feature +++ b/features/docs/getting_started.feature @@ -9,7 +9,7 @@ Feature: Getting started When I run `cucumber` Then it should fail with: """ - No such file or directory - features. Please create a features directory to get started. + No such file or directory - features. Please create a features directory to get started. The --init option will help you. """ Scenario: Accidentally run Cucumber in a folder with Ruby files in it. diff --git a/lib/cucumber/cli/main.rb b/lib/cucumber/cli/main.rb index b9c95c1b05..813da4c95a 100644 --- a/lib/cucumber/cli/main.rb +++ b/lib/cucumber/cli/main.rb @@ -43,7 +43,7 @@ def execute!(existing_runtime = nil) @err.puts("Couldn't open #{e.path}") @kernel.exit(1) rescue FeatureFolderNotFoundException => e - @err.puts(e.message + ". Please create a #{e.path} directory to get started.") + @err.puts(e.message + ". Please create a #{e.path} directory to get started. The --init option will help you.") @kernel.exit(1) rescue ProfilesNotDefinedError, YmlLoadError, ProfileNotFound => e @err.puts(e.message)