tools: bpftool: make syntax for program map update explicit in man page

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/2148481d5d3111e5e9aa5adc1905fa3539e548c8
Commit:     2148481d5d3111e5e9aa5adc1905fa3539e548c8
Parent:     92426820f7616caebdf6ba665f749102a670b3d4
Refname:    refs/heads/master
Author:     Quentin Monnet <[email protected]>
AuthorDate: Wed Feb 7 20:27:15 2018 -0800
Committer:  Daniel Borkmann <[email protected]>
CommitDate: Thu Feb 8 11:59:50 2018 +0100

    tools: bpftool: make syntax for program map update explicit in man page
    
    Specify in the documentation that when using bpftool to update a map of
    type BPF_MAP_TYPE_PROG_ARRAY, the syntax for the program used as a value
    should use the "id|tag|pinned" keywords convention, as used with
    "bpftool prog" commands.
    
    Fixes: ff69c21a85a4 ("tools: bpftool: add documentation")
    Signed-off-by: Quentin Monnet <[email protected]>
    Reviewed-by: Jakub Kicinski <[email protected]>
    Signed-off-by: Daniel Borkmann <[email protected]>
---
 tools/bpf/bpftool/Documentation/bpftool-map.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/bpf/bpftool/Documentation/bpftool-map.rst b/tools/bpf/bpftool/Documentation/bpftool-map.rst
index 0ab32b312aec..457e868bd32f 100644
--- a/tools/bpf/bpftool/Documentation/bpftool-map.rst
+++ b/tools/bpf/bpftool/Documentation/bpftool-map.rst
@@ -31,7 +31,8 @@ MAP COMMANDS
 |	**bpftool** **map help**
 |
 |	*MAP* := { **id** *MAP_ID* | **pinned** *FILE* }
-|	*VALUE* := { *BYTES* | *MAP* | *PROGRAM* }
+|	*PROG* := { **id** *PROG_ID* | **pinned** *FILE* | **tag** *PROG_TAG* }
+|	*VALUE* := { *BYTES* | *MAP* | *PROG* }
 |	*UPDATE_FLAGS* := { **any** | **exist** | **noexist** }
 
 DESCRIPTION
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.