Skip to content

Commit

Permalink
Added --no-confuse params
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfredChester committed Dec 24, 2022
1 parent daebec3 commit 3c9652e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
-l <level> Set confusion level to <level>, default value is 'low'
-o <file> Place the output into <file>, default value is 'confused.cpp'
--zip -z Zip the output source file
--no-confuse Ask FuckCpp not to confuse your source
'''

cppExtensionNames = [
Expand All @@ -34,23 +35,26 @@
defaultParamData = {
'level': 'low',
'output': 'confused.cpp',
'zipsrc': True
'zipsrc': False,
'noConfuse': False
}

paramType = {
'-h': 'function',
'-l': 'data',
'-o': 'data',
'--zip': 'boolean',
'-z': 'boolean'
'-z': 'boolean',
'--no-confuse': 'boolean'
}

paramName = {
'-h': 'help',
'-l': 'level',
'-o': 'output',
'--zip': 'zipsrc',
'-z': 'zipsrc'
'-z': 'zipsrc',
'--no-confuse': 'noConfuse'
}

functionMap = {
Expand Down

0 comments on commit 3c9652e

Please sign in to comment.