Method: Jekyll::Deprecator.no_subcommand
- Defined in:
- lib/jekyll/deprecator.rb
.no_subcommand(args) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/jekyll/deprecator.rb', line 19 def self.no_subcommand(args) if args.size > 0 && args.first =~ /^--/ && !%w[--help --version].include?(args.first) Jekyll.logger.error "Deprecation:", "Jekyll now uses subcommands instead of just \ switches. Run `jekyll help' to find out more." end end |