# File lib/nanoc/cli/commands/validate-links.rb, line 19
    def run
      warn "The `validate-links` command is deprecated. Please use the new `check` command instead."

      checks = []
      checks << 'ilinks' if options[:internal]
      checks << 'elinks' if options[:external]
      Nanoc::CLI.run [ 'check', checks ].flatten
    end