Re: [U-Boot] [PATCH v4 1/6] common: command: Fix command auto-completion

2018-12-11 Thread Simon Glass
On Tue, 11 Dec 2018 at 04:24, Boris Brezillon wrote: > > Hi Simon, > > On Mon, 10 Dec 2018 18:04:20 -0700 > Simon Glass wrote: > > > Hi Boris, > > > > On Mon, 3 Dec 2018 at 14:54, Boris Brezillon > > wrote: > > > > > > When auto-completing command arguments, the last argument is not > > > necess

Re: [U-Boot] [PATCH v4 1/6] common: command: Fix command auto-completion

2018-12-11 Thread Boris Brezillon
Hi Simon, On Mon, 10 Dec 2018 18:04:20 -0700 Simon Glass wrote: > Hi Boris, > > On Mon, 3 Dec 2018 at 14:54, Boris Brezillon > wrote: > > > > When auto-completing command arguments, the last argument is not > > necessarily the one we need to auto-complete. When the last character is > > a spac

Re: [U-Boot] [PATCH v4 1/6] common: command: Fix command auto-completion

2018-12-10 Thread Simon Glass
Hi Boris, On Mon, 3 Dec 2018 at 14:54, Boris Brezillon wrote: > > When auto-completing command arguments, the last argument is not > necessarily the one we need to auto-complete. When the last character is > a space, a tab or '\0' what we want instead is list all possible values, > or if there's

[U-Boot] [PATCH v4 1/6] common: command: Fix command auto-completion

2018-12-03 Thread Boris Brezillon
When auto-completing command arguments, the last argument is not necessarily the one we need to auto-complete. When the last character is a space, a tab or '\0' what we want instead is list all possible values, or if there's only one possible value, place this value on the command line instead of t