#
#     Copyright (c) 2024, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
#

# This rcfile contains deprecated flags that no longer work and emit a
# specific error to suggest an alternative flag to use (when it
# applies).

switch -Mcuda is hide
    error(The flag -Mcuda is no longer supported\, please use -cuda and -gpu instead.)
    help(The flag -Mcuda is no longer supported\, please use -cuda and -gpu instead.)
    helpgroup(target)
    keyword(""())
    nokeyword();

switch -Mcudalib is hide
    error(The flag -Mcudalib is no longer supported\, please use -cudalib.)
    help(The flag -Mcudalib is no longer supported\, please use -cudalib.)
    helpgroup(target)
    keyword(""())
    nokeyword();

switch -ta is hide
    error(The flag -ta is no longer supported\, please use -acc and -gpu instead.)
    help(The flag -ta is no longer supported\, please use -acc and -gpu instead.)
    helpgroup(target)
    keyword(""())
    nokeyword();
