From 4b207799487b970f4c9ee37f7cc62b740de177e2 Mon Sep 17 00:00:00 2001 From: Nick Accad Date: Fri, 6 Apr 2018 14:55:38 -0400 Subject: [PATCH] - Change CMakeLists.txt to set correct version number - Correct help and manpage to use -v (lowercase) instead of -V --- CMakeLists.txt | 4 ++-- src/ympd.c | 2 +- ympd.1 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02ee5141d..2b73f217c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 2.6) project (ympd C) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/") set(CPACK_PACKAGE_VERSION_MAJOR "1") -set(CPACK_PACKAGE_VERSION_MINOR "2") -set(CPACK_PACKAGE_VERSION_PATCH "3") +set(CPACK_PACKAGE_VERSION_MINOR "3") +set(CPACK_PACKAGE_VERSION_PATCH "0") if(CMAKE_BUILD_TYPE MATCHES RELEASE) set(ASSETS_PATH "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/htdocs") else() diff --git a/src/ympd.c b/src/ympd.c index 3aed7e678..3a7c3a171 100644 --- a/src/ympd.c +++ b/src/ympd.c @@ -128,7 +128,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" " -d, --dirbletoken \tDirble API token\n" - " -V, --version\t\t\tget version\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]); diff --git a/ympd.1 b/ympd.1 index c8160a672..92de9e0d3 100644 --- a/ympd.1 +++ b/ympd.1 @@ -26,7 +26,7 @@ drop privileges to the provided username after socket binding \fB\-m\fR, \fB\-\-mpdpass password\fR specifies the password to use when connecting to mpd .TP -\fB\-V\fR, \fB\-\-version\fR +\fB\-v\fR, \fB\-\-version\fR print version and exit .TP \fB\-\-help\fR