Cornelia Huck <cohuck@xxxxxxxxxx> writes: > On Thu, 12 Jul 2018 08:51:16 +0200 > Markus Armbruster <armbru@xxxxxxxxxx> wrote: > >> Markus Armbruster <armbru@xxxxxxxxxx> writes: >> >> > Kevin Wolf <kwolf@xxxxxxxxxx> writes: >> > >> >> I think the function should just take a message: >> >> >> >> /* Works like error_report(), except for the WARNING/ERROR prefix >> >> * and exit(1) if -no-deprecated-options is set */ >> >> void deprecation_report(const char *fmt, ...); >> > >> > I like it. The contract could use a bit of polish, but that's detail. >> >> Suggest --deprecated={silent,warn,error}, default silent. > > I like that, but I'd prefer to default to warn (so that command line > users have a better chance to notice it). Fair enough. -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list