diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | completions/zsh/_swaylock | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0257a99f..a4bf351b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -10,6 +10,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin) | |||
10 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") | 10 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") |
11 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra") | 11 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra") |
12 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter") | 12 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter") |
13 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-result") | ||
13 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") | 14 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") |
14 | if (CMAKE_COMPILER_IS_GNUCC) | 15 | if (CMAKE_COMPILER_IS_GNUCC) |
15 | if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 7.0) | 16 | if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 7.0) |
diff --git a/completions/zsh/_swaylock b/completions/zsh/_swaylock index 16ef1cb5..478c7512 100644 --- a/completions/zsh/_swaylock +++ b/completions/zsh/_swaylock | |||
@@ -6,7 +6,7 @@ | |||
6 | _arguments -s \ | 6 | _arguments -s \ |
7 | '(-v --version)'{-v,--version}'[Show the version number and quit]' \ | 7 | '(-v --version)'{-v,--version}'[Show the version number and quit]' \ |
8 | '(-h --help)'{-h,--help}'[Show help message and quit]' \ | 8 | '(-h --help)'{-h,--help}'[Show help message and quit]' \ |
9 | '(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]\ | 9 | '(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]'\ |
10 | '(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \ | 10 | '(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \ |
11 | '(-i --image)'{-i,--image}'[Display an image]:files:_files' \ | 11 | '(-i --image)'{-i,--image}'[Display an image]:files:_files' \ |
12 | '(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \ | 12 | '(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \ |