소스 검색

fix bug with tpsgi-config not getting the value

George Baugh 1 년 전
부모
커밋
f8ded6e069
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bin/tpsgi-config

+ 1 - 1
bin/tpsgi-config

@@ -21,7 +21,7 @@ sub main {
 
     GetOptionsFromArray(\@args, %def);
 
-    foreach my $param (keys(%options)) {
+    foreach my $param (keys(%def)) {
         next unless $options{$param};
         my @to_print;
         @to_print = ref $config{$param} eq 'ARRAY' ? @{$config{$param}}: $config{$param};