mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 01:39:26 +02:00
improve helptext exporters
This commit is contained in:
parent
baf41112d1
commit
bafe7f5a09
2 changed files with 42 additions and 1 deletions
|
@ -6,6 +6,10 @@ s`/home/ed/`~/`;
|
|||
s/uuid:[0-9a-f-]{36}/autogenerated/;
|
||||
s/(-salt SALT.*default: )[0-9a-zA-Z/+]{24}\)/\124-character-autogenerated)/;
|
||||
s/(-salt SALT.*default: )[0-9a-zA-Z/+]{40}\)/\140-character-autogenerated)/;
|
||||
s/(--name TXT.*default: )[^)]+/\1hostname/;
|
||||
s/(--hash-mt CORES.*default: )[0-9]+/\1numCores if 5 or less/;
|
||||
s/(--mtag-mt|th-mt)( CORES.*default: )[0-9]+/\1\2numCores/;
|
||||
s/(--th-ram-max GB.*default: )[0-9\.]+/\1dynamic/;
|
||||
' | awk '
|
||||
/^copyparty/{a=1} !a{next}
|
||||
/^0{20}/{b=1} b&&/^copyparty v[0-9]+\./{s=3}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue