mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-23 23:55:15 +08:00
Remove force lowercasing of commands.json
This commit is contained in:
parent
78e99d3e36
commit
b2e701d3fd
3 changed files with 3368 additions and 3366 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
6730
doc/commands.json
6730
doc/commands.json
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue