mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-18 02:17:46 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24cae63b61 | ||
|
|
05e5b23e7b | ||
|
|
be58805824 |
@@ -22,7 +22,7 @@
|
|||||||
___
|
___
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
- **v0.7.3**: Bugfix - unquoted variable in printf list caused occasional issues.
|
||||||
- **v0.7.2**:
|
- **v0.7.2**:
|
||||||
- Label rework:
|
- Label rework:
|
||||||
- Moved up label logic to work globally on the current run.
|
- Moved up label logic to work globally on the current run.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
VERSION="v0.7.2"
|
VERSION="v0.7.3"
|
||||||
# ChangeNotes: Reformatted updates list, rewrote label logic to work globally when used with `-l`.
|
# ChangeNotes: Bugfix - unquoted variable in list. Also: Please consider donating.
|
||||||
Github="https://github.com/mag37/dockcheck"
|
Github="https://github.com/mag37/dockcheck"
|
||||||
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
|
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
|
||||||
|
|
||||||
@@ -348,7 +348,7 @@ list_options() {
|
|||||||
[[ ${#total} < 2 ]] && local pads=2 || local pads="${#total}"
|
[[ ${#total} < 2 ]] && local pads=2 || local pads="${#total}"
|
||||||
local num=1
|
local num=1
|
||||||
for update in "${Updates[@]}"; do
|
for update in "${Updates[@]}"; do
|
||||||
printf "%0*d - %s\n" $pads $num $update
|
printf "%0*d - %s\n" "$pads" "$num" "$update"
|
||||||
((num++))
|
((num++))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user