improve docs
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 3 Jan 2024 14:59:12 +0000 (15:59 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 3 Jan 2024 14:59:12 +0000 (15:59 +0100)
sql2xls-files.pl

index 81a04f8..620bb67 100755 (executable)
@@ -8,22 +8,15 @@ sql2xls-files.pl - convert sql queries to multiple Excel file
 
 =head1 USAGE
 
-Each file in current directory which ends in C<*.sql> will
-be converted to Excel sheet. If you want to have specific order, you can
-prefix filenames with numbers which will be striped when creating sheet
-names.
+Argument is single file ends in C<*.sql> which will create
+C<file> and C<sheet> columns that will create those files
+with appropriate sheets.
 
-Comments in sql files (lines beginning with C<-->) will be placed
-in first line in bold.
+Comments in sql files (lines beginning with C<-->) are ignored.
 
 To specify database on which SQL query is executed
 C<\c database> syntax is supported.
 
-You can also run script from command line, and it will produce
-C<sql_reports.xls> file.
-
-If run within directory, it will use files in it to produce file.
-
 =head1 INSTALLATION
 
 To configure default database, user, password and other settings create