Update to make the help command default

This commit is contained in:
Tom Bell 2012-12-19 14:09:02 +00:00
parent dc139e2ac9
commit be20a03bb9
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ program :name, 'jekyll'
program :version, Jekyll::VERSION program :version, Jekyll::VERSION
program :description, 'Jekyll is a blog-aware, static site generator in Ruby' program :description, 'Jekyll is a blog-aware, static site generator in Ruby'
default_command :help
# Global options available to every command # Global options available to every command
global_option '-s', '--source [DIR]', 'Source directory (defaults to ./)' global_option '-s', '--source [DIR]', 'Source directory (defaults to ./)'
global_option '-d', '--destination [DIR]', 'Destination directory (defaults to ./_site)' global_option '-d', '--destination [DIR]', 'Destination directory (defaults to ./_site)'