lib/calabash/cli/helpers.rb in calabash-1.9.9.pre1 vs lib/calabash/cli/helpers.rb in calabash-1.9.9.pre2

- old
+ new

@@ -3,11 +3,11 @@ module CLI # @!visibility private module Helpers HELP = { help: 'help', - gen: 'gen', + generate: 'generate', run: 'run [application] [cucumber options]', console: 'console [application]', version: 'version', setup_keystore: 'setup-keystore', resign: 'resign <apk>', @@ -25,11 +25,11 @@ end def print_usage_for(key, output=STDOUT) if key.nil? || HELP[key].nil? output.write <<EOF -No such command '#{command}' +No such command '#{key}' EOF else output.write <<EOF Usage: calabash [options] #{HELP[key]} @@ -42,11 +42,11 @@ Usage: calabash [options] <command-name> [command specific options] <command-name> can be one of #{HELP[:help]} [command] print help information. - #{HELP[:gen]} - generate a features folder structure. + #{HELP[:generate]} + generate a Cucumber project folder structure. #{HELP[:run]} runs Cucumber in the current folder with the environment needed. the cucumber options will be passed unchanged to cucumber