diff options
Diffstat (limited to 'bin/cdr.import')
-rw-r--r-- | bin/cdr.import | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/cdr.import b/bin/cdr.import index 5c5e6ab63..b2e8d9127 100644 --- a/bin/cdr.import +++ b/bin/cdr.import @@ -1,7 +1,7 @@ #!/usr/bin/perl # # Usage: -# cdr.import user format <filename +# cdr.import user format filename # use strict; @@ -14,12 +14,12 @@ adminsuidsetup $user; my $format = shift or die &usage; my $error = FS::cdr::batch_import( { - 'filehandle' => *STDIN{IO}, - 'format' => $format, + 'file' => shift, + 'format' => $format, } ); die $error if $error; sub usage { - "Usage: \n cdr.import user format <filename\n"; + "Usage: \n cdr.import user format filename\n"; } |