From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Date: Mon, 3 Dec 2018 22:44:52 +0100 Subject: [U-Boot] [PATCH v3 0/6] cmd: Simplify support for sub-commands In-Reply-To: <20181203211458.16951-1-boris.brezillon@bootlin.com> References: <20181203211458.16951-1-boris.brezillon@bootlin.com> Message-ID: <20181203224452.1df8ce73@bbrezillon> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 3 Dec 2018 22:14:52 +0100 Boris Brezillon wrote: > Hello, > > Here is the 3nd version of the sub-cmd patchset. This version fixes a > few typos in commit messages. > > 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 I found a bug in this patch. Please ignore this version, I'll send a new one. > 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(-) >