sort by order of importance

This commit is contained in:
John Haugabook 2025-07-31 18:26:15 -04:00 committed by GitHub
parent 627f2c1d00
commit 516e272b43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 <file>"},
{"Write cookies", "-c <file>"},
{"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 <file>"},
{"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 <file>"},
{"Write output", "-O, -o file"},
{NULL, NULL}
};