lib/nanoc/cli/commands/compile.rb in nanoc-4.9.3 vs lib/nanoc/cli/commands/compile.rb in nanoc-4.9.4
- old
+ new
@@ -3,9 +3,10 @@
usage 'compile [options]'
summary 'compile items of this site'
description <<~EOS
Compile all items of the current site.
EOS
+no_params
flag nil, :diff, 'generate diff'
if Nanoc::Feature.enabled?(Nanoc::Feature::LIVE_CMD)
flag :w, :watch, 'watch for changes and recompile when needed'
end