aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-02-29 20:40:16 +0100
committerKristian Lyngstol <kristian@bohemians.org>2016-02-29 20:40:16 +0100
commit42b0129ec342b8044d0d84c94151da160c288602 (patch)
tree89ca8489724bd3b503838adeb97e2fcafa83cdaf /tools
parentc3ba8fcf1c8e35a4417348109af925bc2a769991 (diff)
nms: Update add_switches.txt.pl to output an arrary
Diffstat (limited to 'tools')
-rwxr-xr-xtools/add_switches.txt.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/add_switches.txt.pl b/tools/add_switches.txt.pl
index 5a6b83c..635e356 100755
--- a/tools/add_switches.txt.pl
+++ b/tools/add_switches.txt.pl
@@ -12,6 +12,6 @@ use lib '../include';
use JSON;
use nms::util;
-my %switches = parse_switches_txt(*STDIN);
+my @switches = parse_switches_txt(*STDIN);
-print JSON::XS::encode_json(\%switches);
+print JSON::XS::encode_json(\@switches);