]> git.ipfire.org Git - people/ms/network.git/commitdiff
network: add description commands
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Mon, 19 Jun 2017 19:20:49 +0000 (21:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Jun 2017 14:31:17 +0000 (16:31 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/network

index ea7f7d6682621f6b2445680853b4f6795ae8c921..e2c9db303aebc590a7f9c7de6e2d93d2cdb7acc7 100644 (file)
@@ -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