Compare commits

...

2 commits

Author SHA1 Message Date
76d9e0a3bb Log when portzap rm completes successfully
Some checks are pending
portzap / shellcheck (push) Waiting to run
2024-09-14 03:39:52 -03:00
fcae142b66 Add .editorconfig 2024-09-14 03:39:38 -03:00
3 changed files with 33 additions and 14 deletions

12
.editorconfig Normal file
View file

@ -0,0 +1,12 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 4

View file

@ -43,11 +43,14 @@ while true; do
read -r r read -r r
if [ "${r}" = "1" ]; then if [ "${r}" = "1" ]; then
erase "${repodir}" erase "${repodir}"
printok "remove complete"
elif [ "${r}" = "2" ]; then elif [ "${r}" = "2" ]; then
erase "${installdir}" erase "${installdir}"
printok "remove complete"
elif [ "${r}" = "3" ]; then elif [ "${r}" = "3" ]; then
erase "${repodir}" erase "${repodir}"
erase "${installdir}" erase "${installdir}"
printok "remove complete"
elif [ "${r}" = "4" ]; then elif [ "${r}" = "4" ]; then
break break
else else

View file

@ -2,6 +2,10 @@
* vNEXT * vNEXT
**** Log when ~portzap rm~ completes successfully
Similar to other commands, log when the ~portzap rm~ command
completes successfully
**** Format log messages with program name **** Format log messages with program name
This change formats log messages written to standard output This change formats log messages written to standard output
and standard error with the pattern ~portzap: <message>~ and standard error with the pattern ~portzap: <message>~