mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
docs: note the 1.0 short-flag and argument changes; drop the stale retract
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
2 files changed
+9
-2
No files matched your search
@@ -344,6 +344,15 @@ archive, or run `make docs`.
|
|||||||
|
|
||||||
## Behavior changes
|
## Behavior changes
|
||||||
|
|
||||||
|
- Short flags changed meaning: `pr create -b` is now `--body` (it was `--base`, now `-B`),
|
||||||
|
and `release edit --draft` / `--prerelease` are switches, so the 0.16 form
|
||||||
|
`--draft false` is refused instead of being read as a tag; use `--draft=false`.
|
||||||
|
- `search repo --private` and `--archived` are switches. Write `--private=false` where
|
||||||
|
0.16 accepted `--private false`.
|
||||||
|
- `pr review reply <number> <comment-id>` takes the reply with `--body`, `--body-file` or
|
||||||
|
`--editor`, not as a third argument. `repo create` names its template options `--template`
|
||||||
|
and `--trust-model`; see `tea repo create --help`.
|
||||||
|
- `--repo` takes `OWNER/REPO` or a URL; use `--cwd DIR` to point at a local checkout.
|
||||||
- `pr checkout N` (alias `co`) checks out a local branch named after the PR's
|
- `pr checkout N` (alias `co`) checks out a local branch named after the PR's
|
||||||
head branch when that name is free or already points at the head; otherwise
|
head branch when that name is free or already points at the head; otherwise
|
||||||
it uses `OWNER/BRANCH` for a fork or `pr/N`. The branch tracks the head
|
it uses `OWNER/BRANCH` for a fork or `pr/N`. The branch tracks the head
|
||||||
|
|||||||
Reference in new issue
Block a user