From a6ba0d640cdfdd169af271881f6b791cfb824c3e Mon Sep 17 00:00:00 2001 From: unknownln Date: Sat, 18 Feb 2017 11:51:03 -0500 Subject: [PATCH] Update documentation for new option --- src/ympd.c | 1 + ympd.1 | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/ympd.c b/src/ympd.c index d89f630..f27c38e 100644 --- a/src/ympd.c +++ b/src/ympd.c @@ -123,6 +123,7 @@ int main(int argc, char **argv) " -w, --webport [ip:]\tlisten interface/port for webserver [8080]\n" " -u, --user \t\tdrop priviliges to user after socket bind\n" " -V, --version\t\t\tget version\n" + " -m, --mpdpass \tspecifies the password to use when connecting to mpd\n" " --help\t\t\t\tthis help\n" , argv[0]); return EXIT_FAILURE; diff --git a/ympd.1 b/ympd.1 index d94ed30..c8160a6 100644 --- a/ympd.1 +++ b/ympd.1 @@ -23,6 +23,9 @@ specifies the port for the webserver to listen to, defaults to 8080 \fB\-u\fR, \fB\-\-user username\fR drop privileges to the provided username after socket binding .TP +\fB\-m\fR, \fB\-\-mpdpass password\fR +specifies the password to use when connecting to mpd +.TP \fB\-V\fR, \fB\-\-version\fR print version and exit .TP