Permalink
Browse files

Clarify error; correct config

  • Loading branch information...
1 parent 916c423 commit f2ddf0296d77b5c1156c089d32cf713e2124af10 @mfontani mfontani committed Jan 31, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit f2ddf02

Please sign in to comment.