bin/quickl in quickl-0.2.2 vs bin/quickl in quickl-0.3.0
- old
+ new
@@ -19,11 +19,11 @@
include Quickl::Naming
OPTION_HELPERS = {
:version => %q{
opt.on_tail('--version', 'Show version and exit'){
- raise Quickl::Exit, "#{program_name} #{VERSION}"
+ raise Quickl::Exit, "#{Quickl.program_name} #{VERSION}"
}
},
:help => %q{
opt.on_tail('--help', "Show this help message"){
raise Quickl::Help
@@ -79,10 +79,10 @@
raise Quickl::Help
end
# Show version and exit
opt.on_tail("--version", "Show version") do
- raise Quickl::Exit, "#{program_name} #{Quickl::VERSION} #{Quickl::COPYRIGHT}"
+ raise Quickl::Exit, "#{Quickl.program_name} #{Quickl::VERSION} #{Quickl::COPYRIGHT}"
end
end
# Loads template to use