aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/add_switches.txt.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/add_switches.txt.pl b/tools/add_switches.txt.pl
index 283eeea..5a6b83c 100755
--- a/tools/add_switches.txt.pl
+++ b/tools/add_switches.txt.pl
@@ -9,8 +9,9 @@ use strict;
use warnings;
use Data::Dumper;
use lib '../include';
+use JSON;
use nms::util;
my %switches = parse_switches_txt(*STDIN);
-print Dumper(\%switches);
+print JSON::XS::encode_json(\%switches);