This commit is contained in:
Harald Hope 2018-07-31 00:08:30 -07:00
parent 489b3d0cef
commit aab72b75c9

10
inxi
View file

@ -3106,7 +3106,7 @@ sub joiner {
# arg: 1 - program lower case name # arg: 1 - program lower case name
sub program_values { sub program_values {
my ($app) = @_; my ($app) = @_;
my (@client_data); my (@program_data);
# note: setting index 1 and 2 to 0 will trip flags to not do version # note: setting index 1 and 2 to 0 will trip flags to not do version
my %data = ( my %data = (
## Clients ## Clients
@ -3232,11 +3232,11 @@ sub program_values {
); );
if ( defined $data{$app} ){ if ( defined $data{$app} ){
my $ref = $data{$app}; my $ref = $data{$app};
@client_data = @$ref; @program_data = @$ref;
} }
#my $debug = main::Dumper \@client_data; #my $debug = main::Dumper \@program_data;
main::log_data('dump',"Client Data",\@client_data) if $b_log; main::log_data('dump',"Program Data",\@program_data) if $b_log;
return @client_data; return @program_data;
} }
# args: 1 - desktop/app command for --version; 2 - search string; # args: 1 - desktop/app command for --version; 2 - search string;