From 0468f35fb67a4e9593c46c31f2b89f4ea9046be2 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Wed, 10 Jan 2024 09:36:52 +0100 Subject: [PATCH] cli: minor, whitespace and fix 'show' subcommand help Signed-off-by: Joachim Wiberg --- src/klish-plugin-infix/xml/infix.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/klish-plugin-infix/xml/infix.xml b/src/klish-plugin-infix/xml/infix.xml index 7e66acfe..31d36e6c 100644 --- a/src/klish-plugin-infix/xml/infix.xml +++ b/src/klish-plugin-infix/xml/infix.xml @@ -283,7 +283,7 @@ - + neighbor @@ -309,6 +309,7 @@ fi + @@ -326,12 +327,14 @@ /libexec/infix/cli-pretty "ietf-routing" -n "$KLISH_PARAM_name" + sysrepocfg -f json -X -d operational -x "/ietf-hardware:hardware" | \ /libexec/infix/cli-pretty "ietf-hardware" + @@ -376,9 +379,9 @@ file=${KLISH_PARAM_fn:-syslog} if [ -n "$KLISH_PARAM_lines" ]; then - tail -n $KLISH_PARAM_lines /log/$file + tail -n $KLISH_PARAM_lines /log/$file else - cat /log/$file + cat /log/$file fi @@ -412,7 +415,6 @@ /ietf-factory-default:factory-reset -