diff options
Diffstat (limited to 'apps/EnumUtils/enumutils_describe.py')
-rw-r--r-- | apps/EnumUtils/enumutils_describe.py | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/apps/EnumUtils/enumutils_describe.py b/apps/EnumUtils/enumutils_describe.py index 18946350de..ef9bf72a4f 100644 --- a/apps/EnumUtils/enumutils_describe.py +++ b/apps/EnumUtils/enumutils_describe.py @@ -2,16 +2,27 @@ from re import compile, MULTILINE from os import walk, getcwd notice = ('''/* - * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 - * Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore> - * Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/> + * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by the + * Free Software Foundation; either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. */ ''') if not getcwd().endswith('src'): print('Run this from the src directory!') - print('(Invoke as \'python ../contrib/enumutils_describe.py\')') + print('(Invoke as \'python ../apps/EnumUtils/enumutils_describe.py\')') exit(1) EnumPattern = compile(r'//\s*EnumUtils: DESCRIBE THIS(?:\s*\(in ([^\)]+)\))?\s+enum\s+([0-9A-Za-z]+)[^\n]*\s*{([^}]+)};') |