Skip to content

Commit 3963b88

Browse files
committed
fix: correct argument check
1 parent c10262a commit 3963b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-cli/add-all-organization-members-to-a-team.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# this script is currently cumulative-only; it won't remove any users from the team
77
# (but this shouldn't matter, if someone gets pulled from org they won't be in team anymore anyway)
88

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

0 commit comments

Comments
 (0)