diff options
-rwxr-xr-x | gmi2email | 1 | ||||
-rw-r--r-- | gmi2email.1.pod | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -103,6 +103,7 @@ $dbh->do("CREATE TABLE IF NOT EXISTS seen (uri TEXT PRIMARY KEY)") foreach my $sub (<$subs_fh>) { chomp $sub; + next if $sub =~ /^#/; my ($gemlog, $type, $data, $next); #<<< try { diff --git a/gmi2email.1.pod b/gmi2email.1.pod index b7e9108..d5623f9 100644 --- a/gmi2email.1.pod +++ b/gmi2email.1.pod @@ -72,7 +72,8 @@ B<gmi2email> looks for a file with a list of gemini:// URIs to check for new posts, one per line, in I<FILE>, or if that is not set, in B<$XDG_CONFIG_HOME/mailscripts/gmi2email.subscriptions>, or if XDG_CONFIG_HOME is not set, it falls back to trying to read -B<~/.config/mailscripts/gmi2email.subscriptions>. +B<~/.config/mailscripts/gmi2email.subscriptions>. Lines beginning with '#' +are treated as comments and ignored. =item B<--inline-images> |