Skip to content

Commit

Permalink
documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 27, 2012
1 parent f2dec76 commit ecfb330
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.70 2012-03-27
- Improved documentation.

2.69 2012-03-26
- Removed X-Forwarded-Host support since it is redundant for well
configured reverse proxies.
Expand Down
12 changes: 7 additions & 5 deletions lib/Mojolicious.pm
Expand Up @@ -33,7 +33,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.69';
our $VERSION = '2.70';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down Expand Up @@ -607,11 +607,13 @@ Template specific helper collection.
=head2 C<start>
Mojolicious->start;
Mojolicious->start('daemon');
$app->start;
$app->start('daemon');
Start the L<Mojolicious::Commands> command line interface for your
application.
Start the command line interface for your application with
L<Mojolicious::Commands/"start">.
$app->start('daemon', '-l', 'http://*:8080');
=head2 C<startup>
Expand Down
6 changes: 5 additions & 1 deletion lib/Mojolicious/Commands.pm
Expand Up @@ -337,12 +337,16 @@ disabled with the C<MOJO_NO_DETECT> environment variable.
Start the command line interface.
Mojolicious::Commands->start('daemon', '-l', 'http://*:8080');
=head2 C<start_app>
Mojolicious::Commands->start_app('MyApp');
Mojolicious::Commands->start_app(MyApp => @ARGV);
Start the command line interface for application.
Load application and start the command line interface for it.
Mojolicious::Commands->start_app('MyApp', 'daemon', '-l', 'http://*:8080');
=head1 SEE ALSO
Expand Down

0 comments on commit ecfb330

Please sign in to comment.