X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FCLI.pm;h=39abf1546370987a26f16fb00d57c584bf14b045;hb=ac095b83019b7eff094549fa33f66147170ea35f;hp=8f8a50eb4cd0243a71ff514a644a04e652c0a9a6;hpb=32ecafee815b0fd8043c0acc2c785f5748fc20ff;p=maypole.git diff --git a/lib/Maypole/CLI.pm b/lib/Maypole/CLI.pm index 8f8a50e..39abf15 100644 --- a/lib/Maypole/CLI.pm +++ b/lib/Maypole/CLI.pm @@ -36,6 +36,9 @@ sub warn { sub parse_location { my $self = shift; my $url = URI->new( shift @ARGV ); + + $self->preprocess_location(); + (my $uri_base = $self->config->uri_base) =~ s:/$::; my $root = URI->new( $uri_base )->path; $self->{path} = $url->path; @@ -144,6 +147,8 @@ functionality. See L for these: =item send_output +=item warn + =back =cut