- Notifications
You must be signed in to change notification settings - Fork673
Commit9acd2d2
fix: add ability to add help to custom_actions
Now when registering a custom_action can add help text if desired.Also delete the VerticalHelpFormatter as no longer needed. When thehelp value is set to `None` or some other value, the actions will getprinted vertically. Before when the help value was not set the actionswould all get put onto one line.1 parent18aa1fc commit9acd2d2
3 files changed
+12
-34
lines changedLines changed: 4 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
| |||
37 | 36 |
| |
38 | 37 |
| |
39 | 38 |
| |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 | 57 |
| |
85 | 58 |
| |
86 | 59 |
| |
87 | 60 |
| |
88 | 61 |
| |
89 | 62 |
| |
90 | 63 |
| |
| 64 | + | |
91 | 65 |
| |
92 | 66 |
| |
93 | 67 |
| |
| |||
115 | 89 |
| |
116 | 90 |
| |
117 | 91 |
| |
| 92 | + | |
118 | 93 |
| |
119 | 94 |
| |
120 | 95 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
300 | 300 |
| |
301 | 301 |
| |
302 | 302 |
| |
| 303 | + | |
303 | 304 |
| |
304 | 305 |
| |
305 | 306 |
| |
306 | 307 |
| |
307 |
| - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
308 | 311 |
| |
309 | 312 |
| |
310 | 313 |
| |
| |||
315 | 318 |
| |
316 | 319 |
| |
317 | 320 |
| |
318 |
| - | |
319 | 321 |
| |
320 | 322 |
| |
321 | 323 |
| |
| |||
386 | 388 |
| |
387 | 389 |
| |
388 | 390 |
| |
389 |
| - | |
390 | 391 |
| |
391 | 392 |
| |
392 | 393 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
| 40 | + | |
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
45 |
| - | |
| 46 | + | |
| 47 | + | |
46 | 48 |
| |
47 | 49 |
| |
48 | 50 |
| |
|
0 commit comments
Comments
(0)