scan/lib/scan/commands_generator.rb in fastlane-2.6.0 vs scan/lib/scan/commands_generator.rb in fastlane-2.7.0
- old
+ new
@@ -29,20 +29,20 @@
program :help_formatter, :compact
global_option("--verbose") { $verbose = true }
command :tests do |c|
- c.syntax = "scan"
+ c.syntax = "fastlane scan"
c.description = Scan::DESCRIPTION
c.action do |_args, options|
config = FastlaneCore::Configuration.create(Scan::Options.available_options,
convert_options(options))
Scan::Manager.new.work(config)
end
end
command :init do |c|
- c.syntax = "scan init"
+ c.syntax = "fastlane scan init"
c.description = "Creates a new Scanfile for you"
c.action do |_args, options|
containing = (Helper.fastlane_enabled? ? 'fastlane' : '.')
path = File.join(containing, Scan.scanfile_name)
UI.user_error!("Scanfile already exists").yellow if File.exist?(path)