mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 04:30:13 -08:00
feat: Add help flag support to enhanced crontab management script installation
This commit is contained in:
@@ -204,6 +204,11 @@ show_usage() {
|
||||
|
||||
case "${1:-help}" in
|
||||
install)
|
||||
# Check if --help flag is present
|
||||
if [[ "$*" == *"--help"* ]]; then
|
||||
show_usage
|
||||
exit 0
|
||||
fi
|
||||
verify_scripts_exist
|
||||
backup_current_crontab
|
||||
install_enhanced_crontab
|
||||
|
||||
Reference in New Issue
Block a user