aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2023-06-02 04:09:55 -0400
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-06-05 15:29:45 -0400
commit2668b130d343585d3fd825a63333070697f55930 (patch)
treee9dcd6f9b4c2cad279c73a7293f8c064f5546c20
parent22ad81e4818d1f56112bdd6be7e62535c74085b9 (diff)
downloadtrace-cmd-2668b130d343585d3fd825a63333070697f55930.tar.gz
trace-cmd agent: Add "IP" to -N argument in help message
The trace-cmd agent -h message does not specify that an IP needs to be given as an argument. Update the help message to reflect that. Link: https://lore.kernel.org/linux-trace-devel/20230602040955.6195a184@rorschach.local.home Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=216291 Reported-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r--tracecmd/trace-usage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracecmd/trace-usage.c b/tracecmd/trace-usage.c
index 42a8e7d1..4fbbc545 100644
--- a/tracecmd/trace-usage.c
+++ b/tracecmd/trace-usage.c
@@ -334,7 +334,7 @@ static struct usage_help usage_help[] = {
{
"agent",
"listen on a vsocket for trace clients",
- " %s agent -p port[-D][-N][-P cid]\n"
+ " %s agent -p port[-D][-N IP][-P cid]\n"
" Creates a vsocket to listen for clients.\n"
" -N Connect to IP via TCP instead of vsockets\n"
" *** Insecure setting, only use on a trusted network ***\n"