help: check early if we have a command, if not try a documentation topic
[gitweb.git] / git-send-email.perl
index a598fdc890c817875766c29aa714d622af770f4b..0b04ba32f0399d338be587ac2d9ad4620705c9a1 100755 (executable)
@@ -209,6 +209,7 @@ sub format_2822_time {
     "bcc" => \@bcclist,
     "aliasesfile" => \@alias_files,
     "suppresscc" => \@suppress_cc,
+    "envelopesender" => \$envelope_sender,
 );
 
 # Handle Uncouth Termination
@@ -441,7 +442,7 @@ sub read_config {
        }
 
        my $to = $_;
-       push @to, split /,/, $to;
+       push @to, split /,\s*/, $to;
        $prompting++;
 }