Skip to content

Commit

Permalink
trace-cmd agent: Add "IP" to -N argument in help message
Browse files Browse the repository at this point in the history
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/[email protected]

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=216291
Reported-by: Alexander Aring <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
  • Loading branch information
rostedt committed Jun 5, 2023
1 parent 22ad81e commit 2668b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracecmd/trace-usage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2668b13

Please sign in to comment.