From d28ccf91678256bc299fed2c10b066682487b1e9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 30 Sep 2018 22:53:20 +0200 Subject: [PATCH] man: Use include for color commands Signed-off-by: Michael Tremer --- man/include-color.txt | 9 +++++++++ man/network-port.txt | 7 +++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 man/include-color.txt diff --git a/man/include-color.txt b/man/include-color.txt new file mode 100644 index 00000000..073c01b7 --- /dev/null +++ b/man/include-color.txt @@ -0,0 +1,9 @@ +'color set ':: + The color is set with this command and required to be passed in + RGB hex formatting + + NOTE: The color is being used to make identification of network devices + easier on the command line and web user interface. + +'color reset':: + Resets the color to blank. diff --git a/man/network-port.txt b/man/network-port.txt index 08b9e90e..0c26f334 100644 --- a/man/network-port.txt +++ b/man/network-port.txt @@ -10,7 +10,8 @@ SYNOPSIS [verse] 'network port' new HOOK ... 'network port' destroy PORT -'network port' PORT color +'network port' PORT color set +'network port' PORT color reset 'network port' PORT create 'network port' PORT description edit 'network port' PORT description show @@ -45,9 +46,7 @@ The following commands are understood: For all other commands, the name of the port needs to be passed first: -'color':: - This command allows settings a color for a port. - See link:network-color[8] for more information. +include::include-color.txt[] 'create':: This will create devices for the existing port PORT. -- 2.39.2