]> git.ipfire.org Git - people/ms/network.git/commitdiff
man: Use include for color commands
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Sep 2018 20:53:20 +0000 (22:53 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Mar 2019 12:47:04 +0000 (14:47 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
man/include-color.txt [new file with mode: 0644]
man/network-port.txt

diff --git a/man/include-color.txt b/man/include-color.txt
new file mode 100644 (file)
index 0000000..073c01b
--- /dev/null
@@ -0,0 +1,9 @@
+'color set <color>'::
+       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.
index 08b9e90ee004c4d987748c0c8c18a546c40db65f..0c26f334560dd6a42d7c0641076ad969c6638aaf 100644 (file)
@@ -10,7 +10,8 @@ SYNOPSIS
 [verse]
 'network port' new HOOK ...
 'network port' destroy PORT
-'network port' PORT color
+'network port' PORT color set <color>
+'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.