mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
bound
This commit is contained in:
@@ -10,6 +10,7 @@ Merges upstream changes with your quickshell config.
|
||||
Options:
|
||||
-n, --dry-run Show what would be done
|
||||
-h, --help Show this help
|
||||
-s, --skip-notice Skip notice about script being experimental
|
||||
--skip-fetch Skip fetching from remote
|
||||
|
||||
How it works:
|
||||
@@ -25,8 +26,8 @@ How it works:
|
||||
}
|
||||
|
||||
para=$(getopt \
|
||||
-o hn \
|
||||
-l help,dry-run,skip-fetch \
|
||||
-o hns \
|
||||
-l help,dry-run,skip-notice,skip-fetch \
|
||||
-n "$0" -- "$@")
|
||||
[ $? != 0 ] && echo "$0: Error when getopt, please recheck parameters." && exit 1
|
||||
|
||||
@@ -41,6 +42,7 @@ done
|
||||
|
||||
DRY_RUN=false
|
||||
SKIP_FETCH=false
|
||||
SKIP_NOTICE=false
|
||||
|
||||
eval set -- "$para"
|
||||
while true ; do
|
||||
@@ -48,6 +50,9 @@ while true ; do
|
||||
-n|--dry-run) DRY_RUN=true;shift
|
||||
log_info "Dry-run mode enabled - no changes will be made"
|
||||
;;
|
||||
-s|--skip-notice) SKIP_NOTICE=true;shift
|
||||
log_warning "Skipping notice about script being experimental"
|
||||
;;
|
||||
--skip-fetch) SKIP_FETCH=true;shift
|
||||
log_info "Skipping fetch from remote"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user