X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-cvsimport.perl;h=ac74bc51b3197d06f13f588d6916400ac3e6fcf0;hb=e448ff877b5bff0f2e6c5281652ed5183a41ed6c;hp=1018f4f6fa42c16a11930283f8ddf2c2f87642d3;hpb=e861ce1692fa9809f3e7b898804f8ddaf7cd8975;p=git.git diff --git a/git-cvsimport.perl b/git-cvsimport.perl index 1018f4f6f..ac74bc51b 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -32,12 +32,15 @@ $ENV{'TZ'}="UTC"; our ($opt_h,$opt_o,$opt_v,$opt_k,$opt_u,$opt_d,$opt_p,$opt_C,$opt_z,$opt_i,$opt_P, $opt_s,$opt_m,$opt_M,$opt_A,$opt_S,$opt_L, $opt_a); my (%conv_author_name, %conv_author_email); -sub usage() { +sub usage(;$) { + my $msg = shift; + print(STDERR "Error: $msg\n") if $msg; print STDERR <