> > What is the preferred command indentation in general? > > > > - Tabs or spaces? eg: > > "dhcp\t- invoke DHCP client to obtain IP/boot params\n" > > "exit - exit script\n" > > TABs are preferred, as they save memory footprint for the U-Boot > image. But for the help textx, this often makes the code hard to read > and difficult to edit, so spaces are accepted here as well. > > > - What about commands that exceed the soft limit of 8 characters? Are > > they acceptable? Should there be a space between the command and the -? > > eg I currently see both: > > "interrupts - enable or disable interrupts\n" > > "reiserload- load binary file from a Reiser filesystem\n" > > Long command names should be avoided in general. If the name is > exactly 8 characters, so that the '-' would align without a space > between the name and the '-', then omit it; otherwise add it. > > > I'd be happy to post these patches if desired. If so, I'll wait till I > > hear back about the preferred indentation method. > > Well, try and post them; probably on the next merge window.
Will do, thanks for the feedback, Peter _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot