fix(scripts): correct usage and help exit status (#143)

This commit is contained in:
2025-06-30 08:51:06 +03:00
committed by GitHub
parent 29d3676b38
commit 07fe18af75
6 changed files with 21 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ Examples:
# Use GitHub Enterprise API
GITHUB_API_URL="https://github.example.com/api/v3/repos" $BIN ivuorinen/dotfiles
EOF
exit 1
exit 0
}
# Check that required dependencies are installed

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#
# Create a directory and cd into it
# Usage: mkcd <dir>
# Usage: x-mkd <dir>
set -euo pipefail