util/OptionParser: loop in ParseNext() until a new option is found

This commit is contained in:
Max Kellermann
2018-01-16 11:25:18 +01:00
parent 68f660dbcc
commit 5ab086e337
4 changed files with 24 additions and 32 deletions

View File

@@ -20,6 +20,8 @@
#ifndef MPD_UTIL_OPTIONDEF_HXX
#define MPD_UTIL_OPTIONDEF_HXX
#include <assert.h>
/**
* Command line option definition.
*/