[6/7] network: add description commands

Submitted by Jonatan Schlag on June 19, 2017, 7:20 p.m.

Details

Message ID 1497900050-27692-6-git-send-email-jonatan.schlag@ipfire.org
State Accepted
Commit ba348e4bb5cf530bd7a494f45e0a0d1af6273c58
Headers show

Commit Message

Jonatan Schlag June 19, 2017, 7:20 p.m.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/network | 6 ++++++
 1 file changed, 6 insertions(+)

Patch hide | download patch | download mbox

diff --git a/src/network b/src/network
index ea7f7d6..e2c9db3 100644
--- a/src/network
+++ b/src/network
@@ -521,6 +521,9 @@  cli_port() {
 			color)
 				color_cli "port" "${port}" $@
 				;;
+			description)
+				description_cli "port" "${port}" $@
+				;;
 			*)
 				error "Unrecognized argument: ${action}"
 				exit ${EXIT_ERROR}
@@ -582,6 +585,9 @@  cli_zone() {
 			color)
 				color_cli "zone" "${zone}" $@
 				;;
+			description)
+				description_cli "zone" ${zone} $@
+				;;
 			*)
 				error "Unrecognized argument: ${action}"
 				cli_show_man network-zone