mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-07-30 10:08:18 -04:00
Fix the maintainer_update.py script (#3573)
This commit is contained in:
@@ -54,6 +54,8 @@ def get_help_text(option):
|
||||
help_text = re.sub(r'(?s).*Usage:', '', help_text)
|
||||
help_text = re.sub(r'(?s).*option requires an argument -- \'?.\'?', '', help_text)
|
||||
# help_text = re.sub(r'(?m)^\s*=\s+(.*)\s+=\s*$', r'### \1', help_text)
|
||||
# normalize SoapySDR availability line (build-dependent, causes spurious diffs)
|
||||
help_text = re.sub(r'(?m)^\tSoapySDR device driver is (not )?available\.\n?', '\tSoapySDR device driver is available.\n', help_text)
|
||||
return help_text
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user