diff options
author | Bennett Goble <signal@lindenlab.com> | 2024-05-29 08:10:00 -0700 |
---|---|---|
committer | Bennett Goble <signal@lindenlab.com> | 2024-05-29 08:10:00 -0700 |
commit | a0b3021bdcf76859054fda8e30abb3ed47749e83 (patch) | |
tree | 0e1ee5e68334244f4c67455466cc34409725ea7e /scripts/code_tools/modified-strings.sh | |
parent | 83e80d79672210355d0291e30bd89bd03c672ca6 (diff) |
Trim trailing whitespace
Start trimming trailing whitespace, but limit the blast radius to a
handful of file types.
Diffstat (limited to 'scripts/code_tools/modified-strings.sh')
-rw-r--r-- | scripts/code_tools/modified-strings.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/code_tools/modified-strings.sh b/scripts/code_tools/modified-strings.sh index 435dda3f5d..932b0a4bfc 100644 --- a/scripts/code_tools/modified-strings.sh +++ b/scripts/code_tools/modified-strings.sh @@ -38,11 +38,11 @@ do -h|--help) Action=USAGE ;; - + -v|--verbose) Verbose=true ;; - + ## ## Select the revision to compare against ## @@ -79,7 +79,7 @@ do break fi ;; - esac + esac shift # always consume 1 done @@ -107,10 +107,10 @@ then cat <<USAGE Usage: - + modified-strings.sh [ { -v | --verbose } ] [-r <revision>] [<path-to-xui>] - where + where --verbose shows progress messages on stderr (the command takes a while, so this is reassuring) -r <revision> specifies a git revision (branch, tag, commit, or relative specifier) @@ -124,9 +124,9 @@ Usage: the path of a file that has a string change (columns 2 and 3 are empty for lines with a filename) name the name attribute of a string or label whose value changed - English value + English value the current value of the string or label whose value changed - for strings, newlines are changed to '\n' and tab characters are changed to '\t' + for strings, newlines are changed to '\n' and tab characters are changed to '\t' There is also a column for each of the language directories following the English. |