summaryrefslogtreecommitdiffstats
path: root/Auxiliary
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-04-27 07:31:03 (GMT)
committerCraig Scott <craig.scott@crascit.com>2019-04-28 12:45:44 (GMT)
commit6cc93b370ef59208b9b468ebc9d84cc02e3cbd85 (patch)
treed3dfd8c1ae2826e369ce504ffb483388cb6ddeaf /Auxiliary
parent377d1b7896e07a171bcfe8da6d9dcda6545052c2 (diff)
downloadCMake-6cc93b370ef59208b9b468ebc9d84cc02e3cbd85.zip
CMake-6cc93b370ef59208b9b468ebc9d84cc02e3cbd85.tar.gz
CMake-6cc93b370ef59208b9b468ebc9d84cc02e3cbd85.tar.bz2
message(): Add support for log levels
Relates: #18943 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
Diffstat (limited to 'Auxiliary')
-rw-r--r--Auxiliary/bash-completion/cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Auxiliary/bash-completion/cmake b/Auxiliary/bash-completion/cmake
index 8c0c5e8..638b1c4 100644
--- a/Auxiliary/bash-completion/cmake
+++ b/Auxiliary/bash-completion/cmake
@@ -116,6 +116,9 @@ _cmake()
2>/dev/null )' -- "$quoted" ) )
return
;;
+ --loglevel)
+ COMPREPLY=( $(compgen -W 'error warning notice status verbose debug trace' -- $cur ) )
+ ;;
--help-command)
COMPREPLY=( $( compgen -W '$( cmake --help-command-list 2>/dev/null|
grep -v "^cmake version " )' -- "$cur" ) )