On Tue, May 26, 2015 at 12:11:23AM +0100, Andre Przywara wrote: > If there is more than one file name specified on the command line, > assume it is the output file name. > This allows to use a more intuitive cp-style command line syntax, > which (together with the input type guessing) allows something like: > $ dtc input.dts output.dtb > (or the other way round) to cover the most common usage scenarios. > > Signed-off-by: Andre Przywara <osp@xxxxxxxxx> Nack to this, sorry. I'd prefer to model our command line on other compilers, and -o is a more common convention there. I would however, accept a patch to guess an output name based on input name if -o is not specified, allowing the output name to be omitted entirely in common cases. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
pgp6Q_MaROBC5.pgp
Description: PGP signature