From e7c2e7790ff18ba90bbd7bcf9129b664b4527752 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 27 Aug 2014 05:53:04 +0200 Subject: [PATCH] remove remnants of --now-playing command option --- doc/ncmpcpp.1 | 3 --- src/cmdargs.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/doc/ncmpcpp.1 b/doc/ncmpcpp.1 index d470da13..1f16fb90 100644 --- a/doc/ncmpcpp.1 +++ b/doc/ncmpcpp.1 @@ -27,9 +27,6 @@ Display help. .B \-v, \-\-version Display version information. .TP -.B \-\-now\-playing -Display now playing song [{{(%l) }{{%a - }%t}}|{%f}}] -.TP .SH "CONFIGURATION" When ncmpcpp starts, it tries to read user's settings from the ~/.ncmpcpp/config file. If no user's configuration is found, ncmpcpp uses its default configuration. An example configuration file containing all default values is provided with ncmpcpp and can be found usually in /usr/share/doc/ncmpcpp (exact location may depend on used distribution/OS/configure prefix). diff --git a/src/cmdargs.cpp b/src/cmdargs.cpp index 6ea2a49b..3548e4ee 100644 --- a/src/cmdargs.cpp +++ b/src/cmdargs.cpp @@ -43,7 +43,6 @@ void ParseArgv(int argc, char **argv) { - std::string now_playing_format = "{{{(%l) }{{%a - }%t}}|{%f}}"; for (int i = 1; i < argc; ++i) { if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--host"))