diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5236e1e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*~ + diff --git a/minicomic-backend.rb b/minicomic-backend.rb index 1753af1..2df9303 100755 --- a/minicomic-backend.rb +++ b/minicomic-backend.rb @@ -411,6 +411,11 @@ end any_rebuilt = false any_rsync = false +if !ARGV[0] + puts "Usage: #{File.basename(__FILE__)} " + exit 0 +end + config = YAML::load(File.open(ARGV[0], "r")) global = config['Global']