fix help gpu-format

This commit is contained in:
Linus Dierheimer
2021-05-05 19:31:58 +02:00
parent 7da0c76703
commit 9c26f9d988
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.1.0) # Threads::Threads is needed
project(fastfetch)
option(BUILD_TESTS "Build test programs" OFF)
option(BUILD_DEBUG "Build with debug symbols" OFF)
execute_process(
COMMAND git rev-list --count HEAD
@@ -26,6 +27,10 @@ if(BUILD_TESTS)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mtune=native -pipe -fno-plt -Wconversion -Wpedantic")
endif(BUILD_TESTS)
if(BUILD_DEBUG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
endif(BUILD_DEBUG)
configure_file(src/fastfetch_config.h.in fastfetch_config.h)
set(THREADS_PREFER_PTHREAD_FLAG ON)
+1 -1
View File
@@ -409,7 +409,7 @@ static inline void printCommandHelp(const char* command)
{
constructAndPrintCommandHelpFormat("gpu", "{2} {3}", 3,
"GPU vendor",
"GPU vendor pretty"
"GPU vendor pretty",
"GPU name"
);
}