   defp parse_args(argv) do
     switches = [silent: :boolean, quiet: :boolean, verbose: :boolean,
                 dev: :boolean, erl: :string, no_tar: :boolean,
-                upgrade: :boolean, upfrom: :string]
+                upgrade: :boolean, upfrom: :string, name: :string,
+                env: :string]
     {overrides, _} = OptionParser.parse!(argv, switches)
     verbosity = :normal
     verbosity = cond do

      :else -> verbosity
    end
    [verbosity: verbosity,
     dev_mode: Keyword.get(overrides, :dev),
     erl_opts: Keyword.get(overrides, :erl),
     no_tar:   Keyword.get(overrides, :no_tar, false),


      # Build an upgrade release from a specific version
      mix release --upgrade --upfrom=0.1.0

      # Build a specific release
      mix release --name=myapp

      # Build a release for a specific environment
      mix release --env=staging

      # Pass args to erlexec when running the release
      mix release --erl="-env TZ UTC"
