Skip to content

Commit

Permalink
update Perl CLI to allow comma-delimited --get=xx,yy
Browse files Browse the repository at this point in the history
  • Loading branch information
ikluft committed May 12, 2024
1 parent 6cd9b02 commit 1de6770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/perl/bin/lon-tz.pl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ sub do_tz_op
my @fields;
if ( exists $opts_ref->{get}) {
if ( ref $opts_ref->{get} eq "ARRAY" ) {
@fields = @{$opts_ref->{get}};
@fields = split( /,/, join( ',', @{$opts_ref->{get}}));
} else {
croak "incorrect data type from --get parameter"
}
Expand Down

0 comments on commit 1de6770

Please sign in to comment.