Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ The log output of a typical example (with all options set to `true`) looks like
================================================================================
BEFORE CLEAN-UP:

$ dh -h /
$ df -h /

Filesystem Size Used Avail Use% Mounted on
/dev/root 84G 53G 31G 64% /
$ dh -a /
$ df -a /

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 87218124 55405432 31796308 64% /
$ dh -a
$ df -a

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 87218124 55405432 31796308 64% /
Expand Down Expand Up @@ -1574,15 +1574,15 @@ Swap: 0B 0B 0B
================================================================================
AFTER CLEAN-UP:

$ dh -h /
$ df -h /

Filesystem Size Used Avail Use% Mounted on
/dev/root 84G 26G 58G 31% /
$ dh -a /
$ df -a /

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 87218124 26471028 60730712 31% /
$ dh -a
$ df -a

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 87218124 26471028 60730712 31% /
Expand Down
14 changes: 7 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,20 @@ runs:
echo ""
}

# macro to print output of dh with caption
printDH() {
# macro to print output of df with caption
printDF() {
caption=${1:-}

printSeparationLine '=' 80
echo "${caption}"
echo ""
echo "$ dh -h /"
echo "$ df -h /"
echo ""
df -h /
echo "$ dh -a /"
echo "$ df -a /"
echo ""
df -a /
echo "$ dh -a"
echo "$ df -a"
echo ""
df -a
printSeparationLine '=' 80
Expand All @@ -124,7 +124,7 @@ runs:
AVAILABLE_INITIAL=$(getAvailableSpace)
AVAILABLE_ROOT_INITIAL=$(getAvailableSpace '/')

printDH "BEFORE CLEAN-UP:"
printDF "BEFORE CLEAN-UP:"
echo ""


Expand Down Expand Up @@ -236,7 +236,7 @@ runs:
AVAILABLE_ROOT_END=$(getAvailableSpace '/')

echo ""
printDH "AFTER CLEAN-UP:"
printDF "AFTER CLEAN-UP:"

echo ""
echo ""
Expand Down