aboutsummaryrefslogtreecommitdiffstats
path: root/interimap
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-11-06 02:55:18 +0100
committerGuilhem Moulin <guilhem@fripost.org>2019-11-06 03:21:13 +0100
commit2f8350700091e766bdab24e7e8d8e051701da9e2 (patch)
tree8016ba7ef9b1cd0ca01847d01c1e14870f27c62a /interimap
parent67e0d741f21bd589a2cbb4d23f07f5fb5eae889b (diff)
pullimap, interimap: redact AUTHENTICATE and LOGIN commands
In --debug mode in order to avoid inadvertently receiving credentials in bug reports. --debug can be set twice to spell out these commands in full.
Diffstat (limited to 'interimap')
-rwxr-xr-xinterimap2
1 files changed, 1 insertions, 1 deletions
diff --git a/interimap b/interimap
index ab96c9c..207d389 100755
--- a/interimap
+++ b/interimap
@@ -57,7 +57,7 @@ sub usage(;$) {
}
my @COMMANDS = qw/repair delete rename/;
-usage(1) unless GetOptions(\%CONFIG, qw/config=s quiet|q target=s@ debug help|h watch:i notify/, @COMMANDS);
+usage(1) unless GetOptions(\%CONFIG, qw/config=s quiet|q target=s@ debug+ help|h watch:i notify/, @COMMANDS);
usage(0) if $CONFIG{help};
my $COMMAND = do {
my @command = grep {exists $CONFIG{$_}} @COMMANDS;