diff options
author | Christian Hesse <mail@eworm.de> | 2024-07-11 23:12:50 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-07-16 13:50:22 +0200 |
commit | 2b758b83fd47ca765dd8c5ed15ff3d001d60a6fc (patch) | |
tree | 1e9d0c3ca6a806c1224186b7cb63eab5a97fe6b8 /mod | |
parent | 2fd0d27447b8ce6620ec3f6d68c9d5ca62bb9f02 (diff) |
mod/inspectvar: use :tocrlf
Diffstat (limited to 'mod')
-rw-r--r-- | mod/inspectvar.rsc | 5 |
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 |