Skip to content

Commit

Permalink
Update xcmrelay usage information
Browse files Browse the repository at this point in the history
Improve formatting and update "-x" and "-y" option documentation.

Signed-off-by: Mattias Rönnblom <[email protected]>
  • Loading branch information
m-ronnblom committed Apr 24, 2024
1 parent 4f35341 commit 1c51a40
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tools/xcmrelay/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ static void usage(const char *name)
printf(" -s <name>=<value> Set string attribute on connections "
"to client address.\n");
printf(" -f <name>=<filename> Set binary attribute on connections to "
"the contents of\n"
" <filename>.\n");
"the contents\n"
" of <filename>.\n");
printf(" -r <name> Read binary connection attribute from "
"stdin. The\n"
" value data must be preceded by a 32-bit "
"length field\n"
" in network byte order.\n");
printf(" -x One subsequent -b, -i, -d, -s, or -f "
"switch configures\n"
" a server socket attribute.\n");
printf(" -y One subsequent -b, -i, -d, -s, or -f "
"switch configures\n"
" a server-side connection socket "
"attribute.\n");
printf(" -x One subsequent -b, -i, -d, -s, -f, " \
"or -r switch\n"
" configures a server socket attribute.\n");
printf(" -y One subsequent -b, -i, -d, -s, -f, " \
"or -r switch\n"
" configures a server-side connection "
"socket attribute.\n");
printf(" -h Prints this text.\n");
}

Expand Down

0 comments on commit 1c51a40

Please sign in to comment.