modargs: Document behaviour on missing arguments
authorUlrich Eckhardt <ulrich.eckhardt@base-42.de>
Wed, 6 Jul 2016 18:00:54 +0000 (20:00 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 6 Jul 2016 18:47:39 +0000 (21:47 +0300)
commit7c280b60370b10bb3389395160ce84ba62bc5bc5
treef032d347b44574fb2a72520b51ab1f41a198010a
parent82d0314a05956fe13df04cab1929c11e69af0a50
modargs: Document behaviour on missing arguments

The behaviour is to leave the value unchanged. The idea is to init the value
with a default before the call and not treat a missing value as error. That
way, only parsing errors or validating errors actually return error codes.
src/pulsecore/modargs.h