Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clarify error; correct config

  • Loading branch information...
commit f2ddf0296d77b5c1156c089d32cf713e2124af10 1 parent 916c423
@mfontani mfontani authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Dist/Zilla/App/Command/provision.pm
View
4 lib/Dist/Zilla/App/Command/provision.pm
@@ -25,8 +25,8 @@ sub execute {
my $zilla = $self->zilla;
my $name = $opt->name
- or die "No name provided!";
- my @config_files = ($opt->name or './oyster.conf');
+ or die "No name provided - please provide a --name to provision\n";
+ my @config_files = ($opt->config or './oyster.conf');
my $cfg = Config::Any->load_files({ files => \@config_files, use_ext => 0 });
($cfg) = values %{ $cfg->[0] }; # FIX with ::JFDI or similar
Please sign in to comment.
Something went wrong with that request. Please try again.