lib/percy/cli.rb in percy-cli-1.2.7 vs lib/percy/cli.rb in percy-cli-1.2.8

- old
+ new

@@ -30,12 +30,12 @@ c.syntax = 'snapshot <root_dir>' c.description = 'Snapshot a folder of static files.' c.option \ '--baseurl PATH', String, - 'The live URL base path. Defaults to "/". Set this if your site is hosted in ' + - 'a subdirectory in production that does not exist locally. If using Jekyll, this ' + + 'The live URL base path. Defaults to "/". Set this if your site is hosted in ' \ + 'a subdirectory in production that does not exist locally. If using Jekyll, this ' \ 'should be the same as your "baseurl" config.' c.option \ '--strip_prefix PATH', String, 'Directory path to strip from generated URLs. Defaults to the given root directory.' @@ -52,21 +52,22 @@ String, 'Comma-separated list of rendering widths for snapshots. Ex: 320,1280"' c.option \ '--snapshot_limit NUM', Integer, - "Max number of snapshots to upload, useful for testing. Default is unlimited." + 'Max number of snapshots to upload, useful for testing. Default is unlimited.' c.option \ '--[no-]enable_javascript', - "Whether or not to enable JavaScript when rendering all snapshots. Default false." + 'Whether or not to enable JavaScript when rendering all snapshots. Default false.' c.option \ '--include_all', - "Whether to include all files in the directory as resources. By default only common website related file types are included." + "Whether to include all files in the directory as resources. By default only common ' + + 'website related file types are included." c.option \ '--threads NUM', Integer, - "Number of threads in pools for snapshot and resource uploads. " + + 'Number of threads in pools for snapshot and resource uploads. ' \ "Defaults to #{DEFAULT_NUM_THREADS}, max #{MAX_NUM_THREADS}." c.action do |args, options| options.default threads: DEFAULT_NUM_THREADS options.threads = MAX_NUM_THREADS if options.threads > MAX_NUM_THREADS @@ -86,7 +87,5 @@ run! end end end - -