Merge remote-tracking branches 'neheb/uniq', 'neheb/bool', 'neheb/loop', 'neheb/bool2', 'neheb/perf', 'neheb/void' and 'neheb/value'
This commit is contained in:
@@ -107,7 +107,7 @@ static constexpr OptionDef option_defs[] = {
|
||||
static constexpr Domain cmdline_domain("cmdline");
|
||||
|
||||
gcc_noreturn
|
||||
static void version(void)
|
||||
static void version()
|
||||
{
|
||||
printf("Music Player Daemon " VERSION " (%s)"
|
||||
"\n"
|
||||
@@ -273,7 +273,7 @@ static void PrintOption(const OptionDef &opt)
|
||||
}
|
||||
|
||||
gcc_noreturn
|
||||
static void help(void)
|
||||
static void help()
|
||||
{
|
||||
printf("Usage:\n"
|
||||
" mpd [OPTION...] [path/to/mpd.conf]\n"
|
||||
@@ -283,7 +283,7 @@ static void help(void)
|
||||
"Options:\n");
|
||||
|
||||
for (const auto &i : option_defs)
|
||||
if(i.HasDescription() == true) // hide hidden options from help print
|
||||
if(i.HasDescription()) // hide hidden options from help print
|
||||
PrintOption(i);
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
|
Reference in New Issue
Block a user