diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-09-29 12:43:09 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-10-01 08:35:59 +0200 |
commit | 24ffdc8826091e9171a1bfb24da5a08b1de29474 (patch) | |
tree | d9befa610b53f89594047d48bc3c2d50f71c78cd /tests | |
parent | 85f91248cffb22d151d5983c32f0dbf6b1de572a (diff) | |
download | curl-24ffdc8826091e9171a1bfb24da5a08b1de29474.tar.gz |
print_category: print help descriptions aligned
Adjust the description position to make an aligned column when doing
help listings, which is more pleasing to the eye.
Suggested-by: Gisle Vanem
Closes #7792
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test1461 | 24 | ||||
-rw-r--r-- | tests/data/test1463 | 6 | ||||
-rw-r--r-- | tests/data/test1464 | 6 |
3 files changed, 18 insertions, 18 deletions
diff --git a/tests/data/test1461 b/tests/data/test1461 index 301dc144e..847f8d1fb 100644 --- a/tests/data/test1461 +++ b/tests/data/test1461 @@ -32,18 +32,18 @@ curl important --help </errorcode> <stdout mode="text"> Usage: curl [options...] <url> - -d, --data <data> HTTP POST data - -f, --fail Fail silently (no output at all) on HTTP errors - -h, --help <category> Get help for commands - -i, --include Include protocol response headers in the output - -o, --output <file> Write to file instead of stdout - -O, --remote-name Write output to a file named as the remote file - -s, --silent Silent mode - -T, --upload-file <file> Transfer local FILE to destination - -u, --user <user:password> Server user and password - -A, --user-agent <name> Send User-Agent <name> to server - -v, --verbose Make the operation more talkative - -V, --version Show version number and quit + -d, --data <data> HTTP POST data + -f, --fail Fail silently (no output at all) on HTTP errors + -h, --help <category> Get help for commands + -i, --include Include protocol response headers in the output + -o, --output <file> Write to file instead of stdout + -O, --remote-name Write output to a file named as the remote file + -s, --silent Silent mode + -T, --upload-file <file> Transfer local FILE to destination + -u, --user <user:password> Server user and password + -A, --user-agent <name> Send User-Agent <name> to server + -v, --verbose Make the operation more talkative + -V, --version Show version number and quit This is not the full help, this menu is stripped into categories. Use "--help category" to get an overview of all categories. diff --git a/tests/data/test1463 b/tests/data/test1463 index 87a2d3ca2..3904324c7 100644 --- a/tests/data/test1463 +++ b/tests/data/test1463 @@ -37,9 +37,9 @@ curl file category --help <stdout mode="text"> Usage: curl [options...] <url> file: FILE protocol options - --create-file-mode <mode> File mode for created files - -I, --head Show document info only - -r, --range <range> Retrieve only the bytes within RANGE + --create-file-mode <mode> File mode for created files + -I, --head Show document info only + -r, --range <range> Retrieve only the bytes within RANGE </stdout> </verify> </testcase> diff --git a/tests/data/test1464 b/tests/data/test1464 index 9821f097b..44a7adcf0 100644 --- a/tests/data/test1464 +++ b/tests/data/test1464 @@ -37,9 +37,9 @@ curl file category --help with lower/upper mix <stdout mode="text"> Usage: curl [options...] <url> file: FILE protocol options - --create-file-mode <mode> File mode for created files - -I, --head Show document info only - -r, --range <range> Retrieve only the bytes within RANGE + --create-file-mode <mode> File mode for created files + -I, --head Show document info only + -r, --range <range> Retrieve only the bytes within RANGE </stdout> </verify> </testcase> |