Signed-off-by: Jonatan Schlag jonatan.schlag@ipfire.org --- src/functions/functions.cli | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/src/functions/functions.cli b/src/functions/functions.cli index 5efd923..1bd99dd 100644 --- a/src/functions/functions.cli +++ b/src/functions/functions.cli @@ -113,6 +113,17 @@ cli_device_headline() { esac cli_print_fmt1 1 "Status" "${status}"
+ # Print the description title of the device. + case "${type}" in + port) + cli_print_fmt1 1 "Description" "$(port_get_description_title ${device})" + ;; + + zone) + cli_print_fmt1 1 "Description" "$(zone_get_description_title ${device})" + ;; + esac + # Print the color of the device. case "${type}" in port)