Re: [PATCH 1/2] cmd: bind: Try to improve the (un)bind help

2023-08-07 Thread Miquel Raynal
Hi Heinrich, > > U_BOOT_CMD( > > bind, 4, 0, do_bind_unbind, > > - "Bind a device to a driver", > > + "Bind a device to a driver, see 'dm tree' for the parameters\n", > > How about > > "Use 'dm tree' to list classes, drivers, and devices." > > as last line of the help lo

Re: [PATCH 1/2] cmd: bind: Try to improve the (un)bind help

2023-08-07 Thread Heinrich Schuchardt
On 04.08.23 21:13, Miquel Raynal wrote: While it may sound totally obvious for the regular U-Boot developer to get the parameters of the bind/unbind commands from the output of 'dm tree', it did not felt straightforward to me until I was explicitly told to look there. And even when I knew the com

[PATCH 1/2] cmd: bind: Try to improve the (un)bind help

2023-08-04 Thread Miquel Raynal
While it may sound totally obvious for the regular U-Boot developer to get the parameters of the bind/unbind commands from the output of 'dm tree', it did not felt straightforward to me until I was explicitly told to look there. And even when I knew the command, I did not make a direct link between