gitea-tea/cmd
Norwin 5e7c702e07 Clarify command descriptions when no arguments are taken (#496)
This changes the command help string from eg
```
NAME:
   tea label create - Create a label

USAGE:
   tea label [command options] [arguments...]
```
to
```
NAME:
   tea label create - Create a label

USAGE:
   tea label [command options]
```

Hopefully improving usability.

---

edit: this also changes `tea release create` to take the `--tag` flag value optionally via the first argument, as this seems to be a clear UX improvement.

fixes #483

Co-authored-by: Norwin <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/496
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: delvh <delvh@noreply.gitea.io>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2022-09-14 02:14:02 +08:00
..
flags Correct spelling of "wether" to "whether" in usage output (#453) 2022-02-01 07:11:37 +08:00
issues Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
labels Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
login Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
milestones Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
notifications Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
organizations Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
pulls Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
releases Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
repos Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
times Implement notification subcommands (#389) 2021-09-06 01:11:17 +08:00
autocomplete.go Handle XDG directories with spaces in autocomplete commands (#383) 2021-07-24 00:14:23 +08:00
categories.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
clone.go Add `tea clone` (#411) 2021-10-18 20:09:27 +08:00
comment.go Allow editing multiline prompts with external text editor (#429) 2021-10-14 22:36:08 +08:00
issues.go Correct spelling of "wether" to "whether" in usage output (#453) 2022-02-01 07:11:37 +08:00
labels.go Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
login.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
logout.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
milestones.go Add `tea issues --fields`, allow printing labels (#312) 2020-12-21 23:41:07 +08:00
notifications.go Implement notification subcommands (#389) 2021-09-06 01:11:17 +08:00
open.go Proper help text & new README structure (#311) 2020-12-21 21:37:20 +08:00
organizations.go Add `tea org create <name>` (#420) 2021-09-29 04:32:16 +08:00
pulls.go Fetch all items where needed. (#475) 2022-04-08 03:44:16 +08:00
releases.go Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00
repos.go Add `tea repo create-from-template` (#408) 2021-10-20 09:31:35 +08:00
times.go Improve `tea time` (#319) 2020-12-23 12:58:36 +08:00
whoami.go Clarify command descriptions when no arguments are taken (#496) 2022-09-14 02:14:02 +08:00