Update to display after parsing args

This commit is contained in:
Ryan Hughes
2025-11-21 13:15:30 -05:00
parent ee702e158b
commit daa0e31db8
+5 -5
View File
@@ -147,11 +147,6 @@ show_disk_usage() {
main() {
print_header "Omarchy Repository Cleaner"
print_info "Mirror: $MIRROR"
print_info "Architecture: $ARCH"
print_info "Repository: $REPO_DIR"
echo ""
# Parse command line arguments
DRY_RUN=false
REMOVE_ALL=false
@@ -211,6 +206,11 @@ main() {
esac
done
print_info "Mirror: $MIRROR"
print_info "Architecture: $ARCH"
print_info "Repository: $REPO_DIR"
echo ""
# Validate keep versions
if ! [[ "$KEEP_VERSIONS" =~ ^[0-9]+$ ]] || [[ "$KEEP_VERSIONS" -lt 1 ]]; then
print_error "Error: --keep must be a positive integer"