feat: Add help flag support to enhanced crontab management script installation

This commit is contained in:
Peter Wood
2025-05-26 10:59:31 -04:00
parent aec4878502
commit 458683d395
5 changed files with 64 additions and 39 deletions

View File

@@ -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