diff mbox series

trace-cmd agent: Add "IP" to -N argument in help message

Message ID 20230602040955.6195a184@rorschach.local.home (mailing list archive)
State Accepted
Commit 2668b130d343585d3fd825a63333070697f55930
Headers show
Series trace-cmd agent: Add "IP" to -N argument in help message | expand

Commit Message

Steven Rostedt June 2, 2023, 8:09 a.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

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.

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>
---
 tracecmd/trace-usage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tracecmd/trace-usage.c b/tracecmd/trace-usage.c
index 42a8e7d1107d..4fbbc545a5ef 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"