aboutsummaryrefslogtreecommitdiffstats
path: root/mod/inspectvar.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'mod/inspectvar.rsc')
-rw-r--r--mod/inspectvar.rsc5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/inspectvar.rsc b/mod/inspectvar.rsc
index 5adca0a..73205b2 100644
--- a/mod/inspectvar.rsc
+++ b/mod/inspectvar.rsc
@@ -3,7 +3,7 @@
# Copyright (c) 2020-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
-# requires RouterOS, version=7.13
+# requires RouterOS, version=7.14
#
# inspect variables
# https://git.eworm.de/cgit/routeros-scripts/about/doc/mod/inspectvar.md
@@ -14,9 +14,8 @@
# inspect variable and print on terminal
:set InspectVar do={
:global InspectVarReturn;
- :global PrettyPrint;
- $PrettyPrint [ $InspectVarReturn $1 ];
+ :put [ :tocrlf [ $InspectVarReturn $1 ] ];
}
# inspect variable and return formatted string