fix digest argument type
authorSuperBFG7 <daniel@despite.ch>
Fri, 13 Nov 2015 09:32:36 +0000 (10:32 +0100)
committerSuperBFG7 <daniel@despite.ch>
Fri, 13 Nov 2015 09:32:36 +0000 (10:32 +0100)
src/ympd.c

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