Finishing off 'query2*' scripts
Database/hosts_list.tpl, Database/hosts_showcount.sqlite.sql: examples of using 'query2tt2' Database/query2csv, Database/query2json, Database/query2tt2: minor bug fix relating to '-dbarg=ARG' option
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# AUTHOR: Dave Morriss (djm), Dave.Morriss@gmail.com
|
||||
# VERSION: 0.0.3
|
||||
# CREATED: 2021-06-18 13:24:49
|
||||
# REVISION: 2025-05-07 17:20:07
|
||||
# REVISION: 2025-05-09 14:13:27
|
||||
#
|
||||
#===============================================================================
|
||||
|
||||
@@ -343,8 +343,8 @@ sub _dbargs {
|
||||
|
||||
my @args;
|
||||
|
||||
if ( defined( $opts->{dbargs} ) ) {
|
||||
@args = @{ $opts->{dbargs} };
|
||||
if ( defined( $opts->{dbarg} ) ) {
|
||||
@args = @{ $opts->{dbarg} };
|
||||
}
|
||||
|
||||
return (@args);
|
||||
|
Reference in New Issue
Block a user