0.0.2-beta
This commit is contained in:
parent
d9ce921d41
commit
b9a9ecf3ef
5
pm.pl
5
pm.pl
@ -10,7 +10,7 @@ use Usage;
|
||||
# Debug
|
||||
use Data::Dumper;
|
||||
|
||||
our $VERSION = '0.0.1-beta1';
|
||||
our $VERSION = '0.0.1';
|
||||
|
||||
my $usage = Usage->new();
|
||||
|
||||
@ -61,6 +61,8 @@ if ( defined($opt_s) and defined($opt_n) and !defined($opt_o) ) {
|
||||
print "$get_pass\n" if $ans eq "Yes";
|
||||
print "Cancel\n" if $ans ne "Yes";
|
||||
}
|
||||
|
||||
exit 0;
|
||||
}
|
||||
if ( defined($opt_s) and defined($opt_g) ) {
|
||||
|
||||
@ -133,6 +135,7 @@ elsif ( defined($opt_w)
|
||||
$pass->save($store_h) == 0 or die "Oops! 122: pm.pl. $!\n";
|
||||
print colored( "Password was stored into DB!\n", 'green' );
|
||||
}
|
||||
|
||||
# Export
|
||||
elsif ( defined($opt_x) ) {
|
||||
$pass->export($opt_x);
|
||||
|
Loading…
Reference in New Issue
Block a user