about summary refs log tree commit diff stats
path: root/leo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'leo.pl')
-rwxr-xr-xleo.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/leo.pl b/leo.pl
index 8fb200c..b82ed74 100755
--- a/leo.pl
+++ b/leo.pl
@@ -14,6 +14,10 @@ GetOptions(
     qw{ verbose encrypt sign delete }
 ) or die "Error in command line arguments\n";
 
+$options{encrypt} = $ENV{LEO_ENCRYPT};
+$options{sign} = $ENV{LEO_SIGN};
+$options{delete} = $ENV{LEO_DELETE};
+
 my $gpg_fingerprint = "D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD";
 my $archive_dir = "/tmp/archive";
 my $ymd = ymd(); # YYYY-MM-DD.