On Wed, Oct 18, 2017 at 6:28 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote: > From: Fabio Estevam <fabio.estevam@xxxxxxx> > > When dtc is called without any argument the application hangs forever. > > Instead of hanging, print the usage and exit. I think it is valid to do: dtc < in > out This doesn't hang: $ dtc < /dev/null Error: <stdin>:0.0 syntax error FATAL ERROR: Unable to parse input tree The help though isn't clear that input file is optional. Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html