Skip to content

Commit

Permalink
fix: correct argument check
Browse files Browse the repository at this point in the history
  • Loading branch information
joshjohanning committed Nov 15, 2024
1 parent c10262a commit 3963b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-cli/add-all-organization-members-to-a-team.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# this script is currently cumulative-only; it won't remove any users from the team
# (but this shouldn't matter, if someone gets pulled from org they won't be in team anymore anyway)

if [ -z "$1" ]; then
if [ -z "$2" ]; then
echo "Usage: $0 <org> <team>"
echo "Example: ./add-all-organization-members-to-a-team.sh joshjohanning-org all-users"
exit 1
Expand Down

0 comments on commit 3963b88

Please sign in to comment.