mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: address verified review findings (api-transport-download-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
11 files changed
+192
-11
No files matched your search
@@ -261,7 +261,9 @@ changed meaning:
|
||||
- `api`: `--field` (`-f`) sent a string and `--Field` (`-F`) a typed value. Now
|
||||
`--raw-field` / `-f` sends a string and `--field` / `-F` a typed value, so the
|
||||
shorthands behave as before. `--data` / `-d` became `--input FILE` (or `-` for
|
||||
stdin), and `--output` / `-o` became `--output-file`.
|
||||
stdin), and `--output` / `-o` became `--output-file`. `api` exits 1 on a response outside
|
||||
2xx (0.16 printed the body and exited 0), `-F key=@FILE` keeps the file's trailing newline,
|
||||
and `--output-file` refuses to replace an existing file.
|
||||
|
||||
## Changed positional arguments
|
||||
|
||||
|
||||
Reference in new issue
Block a user