From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: network@lists.ipfire.org Subject: [PATCH 6/7] network: add description commands Date: Mon, 19 Jun 2017 21:20:49 +0200 Message-ID: <1497900050-27692-6-git-send-email-jonatan.schlag@ipfire.org> In-Reply-To: <1497900050-27692-1-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7353862921291073251==" List-Id: --===============7353862921291073251== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Jonatan Schlag --- src/network | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.6.3 --===============7353862921291073251==--