Add correct line breaks into help menu.
This commit is contained in:
@@ -309,8 +309,8 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
fprintf(stdout, "Usage:\n" \
|
fprintf(stdout, "Usage:\n" \
|
||||||
"--config -c => Config file location (default is /etc/xdpfw/xdpfw.conf).\n" \
|
"--config -c => Config file location (default is /etc/xdpfw/xdpfw.conf).\n" \
|
||||||
"--offload -o => Tries to load the XDP program in hardware/offload mode." \
|
"--offload -o => Tries to load the XDP program in hardware/offload mode.\n" \
|
||||||
"--skb -s => Force the XDP program to load with SKB mode instead of DRV." \
|
"--skb -s => Force the XDP program to load with SKB mode instead of DRV.\n" \
|
||||||
"--time -t => How long to run the program for in seconds before exiting. 0 or not set = infinite.\n" \
|
"--time -t => How long to run the program for in seconds before exiting. 0 or not set = infinite.\n" \
|
||||||
"--list -l => Print config details including filters (this will exit program after done).\n" \
|
"--list -l => Print config details including filters (this will exit program after done).\n" \
|
||||||
"--help -h => Print help menu.\n");
|
"--help -h => Print help menu.\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user