bin/pdfs2pdf in pdfs2pdf-0.1.0 vs bin/pdfs2pdf in pdfs2pdf-0.1.1

- old
+ new

@@ -1,6 +1,9 @@ #!/usr/bin/env ruby -require_relative '../lib/pdfs2pdf' -require_relative '../config/initializers/pdfs2pdf' -Pdfs2Pdf.update_config +require_relative "../lib/pdfs2pdf" +require_relative "../config/initializers/pdfs2pdf" include Pdfs2Pdf -Pdfs2Pdf::CLI.start(ARGV) +if ARGV.empty? + Pdfs2Pdf::CLI.start(%w[usage]) +else + Pdfs2Pdf::CLI.start(%w[merge --recursive].concat(ARGV)) +end