1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-26 23:07:17 +00:00

fix digest argument type

This commit is contained in:
SuperBFG7 2015-11-13 10:32:36 +01:00
parent 686eb4f5d2
commit 84ad2b06a7

View File

@ -96,7 +96,7 @@ int main(int argc, char **argv)
strcpy(mpd.host, "127.0.0.1"); strcpy(mpd.host, "127.0.0.1");
static struct option long_options[] = { static struct option long_options[] = {
{"digest", optional_argument, 0, 'd'}, {"digest", required_argument, 0, 'd'},
{"host", required_argument, 0, 'h'}, {"host", required_argument, 0, 'h'},
{"port", required_argument, 0, 'p'}, {"port", required_argument, 0, 'p'},
{"webport", required_argument, 0, 'w'}, {"webport", required_argument, 0, 'w'},