From 516e272b4367500edfadc60d83033184ed15fe63 Mon Sep 17 00:00:00 2001 From: John Haugabook Date: Thu, 31 Jul 2025 18:26:15 -0400 Subject: [PATCH] sort by order of importance --- src/tool_help.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/tool_help.c b/src/tool_help.c index 5bc1511743..f146d51650 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -414,26 +414,26 @@ static const struct cheat_table { const char *head; const char *opt; } cheat_items[] = { - {"Basic auth", "-u user:password"}, - {"Custom", "-X METHOD"}, + {"Verbose", "-v, --trace-ascii file"}, + {"Hide progress", "-s"}, {"Extra info", "-w format"}, + {"Write output", "-O, -o file"}, + {"Timeout", "-m secs"}, + {"Post", "-d string, -d @file"}, + {"Multipart", "-F name=value, -F name=@file"}, + {"Put", "-T file"}, + {"Head", "-I"}, + {"Custom", "-X METHOD"}, + {"Basic auth", "-u user:password"}, + {"Read cookies", "-b "}, + {"Write cookies", "-c "}, + {"Send cookies", "-b \"c=1; d=2\""}, + {"User-agent", "-A string"}, + {"Use proxy", "-x host:port"}, + {"Headers add/remove", "-H \"name: value\", -H name:"}, {"Follow redirs", "-L"}, {"Gzip", "--compressed"}, - {"Head", "-I"}, - {"Headers add/remove", "-H \"name: value\", -H name:"}, - {"Hide progress", "-s"}, {"Insecure", "-k"}, - {"Multipart", "-F name=value, -F name=@file"}, - {"Post", "-d string, -d @file"}, - {"Put", "-T file"}, - {"Read cookies", "-b "}, - {"Send cookies", "-b \"c=1; d=2\""}, - {"Timeout", "-m secs"}, - {"Use proxy", "-x host:port"}, - {"User-agent", "-A string"}, - {"Verbose", "-v, --trace-ascii file"}, - {"Write cookies", "-c "}, - {"Write output", "-O, -o file"}, {NULL, NULL} };