From 84ad2b06a77d20406c394a5f6b399f7a28426f33 Mon Sep 17 00:00:00 2001 From: SuperBFG7 Date: Fri, 13 Nov 2015 10:32:36 +0100 Subject: [PATCH] fix digest argument type --- src/ympd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}, -- 2.20.1