Skip to content

Commit d0762a3

Browse files
committed
Fix version option not working on bin/minima
1 parent 6e94749 commit d0762a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/minima

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use Getopt::Long qw/ :config bundling pass_through /;
55
use Pod::Usage;
66

77
use IO::Socket::INET;
8-
use Minima::App;
8+
use Minima;
99
use Minima::Project;
1010

1111
my $help;
@@ -21,7 +21,7 @@ Getopt::Long::Configure('no_pass_through');
2121

2222
# Preliminary
2323
pod2usage(-exitval => 0, -verbose => 2) if $help;
24-
say 'Minima v', $Minima::App::VERSION and exit if $version;
24+
say 'Minima ', Minima->VERSION and exit if $version;
2525

2626
# Commands
2727
$command = shift @ARGV // 'nop';

0 commit comments

Comments
 (0)