diff --git a/lib/jsduck/options.rb b/lib/jsduck/options.rb index c0906d641968aa633264973d9ec5cd1d1a326d30..9dba4942a3a54b5b525abfd3e53ce3d84468a333 100644 --- a/lib/jsduck/options.rb +++ b/lib/jsduck/options.rb @@ -179,8 +179,8 @@ module JsDuck opts.on('--footer=TEXT', "Custom footer text for the documentation.", - "Defaults to: 'Generated with JSDuck.'", " ") do |text| - @footer = text + "Defaults to: 'Generated with JSDuck {VERSION}.'", " ") do |text| + @footer = text.gsub(/\{VERSION\}/, @version) end opts.on('--head-html=HTML', "HTML to append to the section of index.html.", " ") do |html|