cmd: Simplify support for sub-commands
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 0 repliesNew
- v3 posting 2/20 of 6 patches 0 repliesSuperseded
- v3 posting 1/26 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 2/2 | 0 of 6 patches | 0 replies | Superseded | |
| v2 posting 1/2 | 6 patches | 0 replies | Superseded | |
| v1 RFC | 0 of 4 patches | 0 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | common: command: Fix command auto-completioncommon/ | +10 | 2 replies | |
| 1/6 | common: command: Fix command auto-completiontest/ test/ | +65 | 1 reply | |
| 2/6 | common: command: Expose a generic helper to auto-complete sub commandscommon/ include/ | +19 | 1 reply | |
| 3/6 | common: command: Rework the 'cmd is repeatable' logiccmd/ cmd/ cmd/ +2 more | +84 | 2 replies | |
| 4/6 | command: commands: Add macros to declare commands with subcmdsinclude/ | +78 | 1 reply | |
| 5/6 | cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commandscmd/ | +281 | 1 reply | |
| 6/6 | cmd: adc: Use the sub-command infrastructurecmd/ | +5 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Tom Rini |
|---|---|
| 1/6 | R-b |
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v4 0/6] cmd: Simplify support for sub-commands
Hello,
Here is the 4th version of the sub-cmd patchset fixing the maxargs def of the mtd bad sub-cmd (I noticed the bug just after sending v3 :-/).
Regards,
Boris
Boris Brezillon (6):
common: command: Fix command auto-completion
common: command: Expose a generic helper to auto-complete sub commands
common: command: Rework the 'cmd is repeatable' logic
command: commands: Add macros to declare commands with subcmds
cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands
cmd: adc: Use the sub-command infrastructure
cmd/adc.c | 33 +--- cmd/dtimg.c | 2 +- cmd/help.c | 2 +- cmd/mmc.c | 4 +- cmd/mtd.c | 476 +++++++++++++++++++++++++++------------------- common/command.c | 68 ++++++- include/command.h | 133 ++++++++++++- 7 files changed, 477 insertions(+), 241 deletions(-)
Signature · 1 line
2.17.1