From: SuperBFG7 Date: Fri, 13 Nov 2015 09:32:36 +0000 (+0100) Subject: fix digest argument type X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=84ad2b06a77d20406c394a5f6b399f7a28426f33;p=ympd.git fix digest argument type --- diff --git a/src/ympd.c b/src/ympd.c index 7c63167..b5f2a3d 100644 --- a/src/ympd.c +++ b/src/ympd.c @@ -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'},