Remove force lowercasing of commands.json

This commit is contained in:
Mark Dietzer 2022-03-29 08:15:36 -07:00
parent 78e99d3e36
commit b2e701d3fd
3 changed files with 3368 additions and 3366 deletions

View file

@ -293,7 +293,7 @@ style:
[ -x client/proxmark3 ] && client/proxmark3 -m > doc/commands.md
# Make sure python3 is installed
@command -v python3 >/dev/null || ( echo "Please install 'python3' package first" ; exit 1 )
# Update commands.json, patch port in cas it was run under Windows
# Update commands.json, patch port in case it was run under Windows
[ -x client/proxmark3 ] && client/proxmark3 --fulltext | sed 's#com[0-9]#/dev/ttyacm0#'|python3 client/pyscripts/pm3_help2json.py - doc/commands.json
# Update the readline autocomplete autogenerated code

View file

@ -165,7 +165,7 @@ def get_version():
def remove_ansi_escape_codes(text):
"""Remove ANSI escape sequences that may be left in the text."""
re_ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -/]*[@-~]')
return re_ansi_escape.sub('', str(text)).lower()
return re_ansi_escape.sub('', str(text))
def remove_extra_whitespace(text):

File diff suppressed because it is too large Load diff