Commit 8b27899
committed
mr,issue,snippet: make shorthand flags deprecated
All commands with --list, --close and --browse flags, also has the actual
subcommand for each of them. I've seen users getting confused because the
flags in the `list` command can't be used with the shorthand, and tbh,
typing `list` is easier than `--list` (the same is valid for the others
flags).
IMHO the shorthand as a whole should be deprecated, avoiding user confusion
and, possibly, dead code for getting maintained.
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>1 parent 78d76dc commit 8b27899
3 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
| 41 | + | |
40 | 42 | | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
0 commit comments