Compare commits

..

2 Commits

Author SHA1 Message Date
interface
f52dc481c7 fixed missing argument flag 2026-02-23 01:07:11 +01:00
interface
e4930afc0e Added license 2026-02-21 16:27:32 +01:00
2 changed files with 18 additions and 7 deletions

10
LICENSE Normal file
View File

@@ -0,0 +1,10 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>

View File

@@ -155,8 +155,10 @@ def main(args):
if args.replace_all != True:
if str(sourcepath_relative) in modified_files:
if args.dry_run != True:
shutil.copy2(item.resolve(), target, follow_symlinks=args.follow_symlinks)
print(item.resolve())
if args.verbose:
@@ -182,6 +184,8 @@ def main(args):
print(output_copy)
if args.dry_run != True:
shutil.copy2(item.resolve(), target, follow_symlinks=args.follow_symlinks)
@@ -202,9 +206,6 @@ def main(args):
with open(target, "w", encoding="utf-8") as f:
f.writelines(''.join(finalform))
else:
pass
if args.verbose:
output_writing = f'{white}Writing {item.name} => {target}{reset}'