From daa0e31db8d22b2d5fa2b529b8331a9b3608c0a6 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Fri, 21 Nov 2025 13:15:30 -0500 Subject: [PATCH] Update to display after parsing args --- bin/clean-repo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/clean-repo b/bin/clean-repo index dc49d41..aaa230a 100755 --- a/bin/clean-repo +++ b/bin/clean-repo @@ -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"