Fix precedence of command line arguments
Previously, when autogenerating the config file, the name of config
itself was included in the YAML contents.
This in turn caused the config file to be re-parsed again and any
command line arguments were overwritten with values from the config
file.
Now the name of config file is not dumped if it is equal to the file
being written, and the config file is not reparsed if it is the same
file.
Adam Spiers <adam@spiers.net>
Andr Goens <andres.goens@tu-dresden.de>
Alexander Perlis <aperlis@math.lsu.edu>
Dennis Kaarsemaker <dennis.kaarsemaker@booking.com>
Emile "iMil" Heitor <imil@home.imil.net>
Gertjan Halkes <shelldap@ghalkes.nl>
Giacomo Tenaglia <Giacomo.Tenaglia@cern.ch>
Jonathan Rozes <jonathan@laika.com>
Josef Wells <Josefwells@alumni.utexas.net>
Landry Breuil <landry@openbsd.org>
Lars Täuber <taeuber@bbaw.de>
Michael Granger <ged@faeriemud.org>
Michael Raitza <spacefrogg-devel@meterriblecrew.net>
Mike Hix <m@hix.io>
Peter Marschall <peter@adpm.de>
Rick H. <rickh_shelldap@printstring.com>
Rong-En Fan <rafan@FreeBSD.org>
Salvatore Bonaccorso <carnil@debian.org>
Yann Cezard <yann.cezard@univ-pau.fr>