Skip to content

Commit

Permalink
Use name exec-as
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan committed Jan 10, 2019
1 parent 9d18538 commit a312d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubectl-user-exec → kubectl-exec-as
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

trap 'kubectl delete pod $container >/dev/null 2>&1 &' 0 1 2 3 15

usage() { echo -e "Usage: kubectl user-exec -u <user> -p <pod name>" && grep " .)\ #" $0 | sed 's|^ |-|g'; exit 0; }
usage() { echo -e "Usage: kubectl exec-as -u <user> -p <pod name>" && grep " .)\ #" $0 | sed 's|^ |-|g'; exit 0; }
[ $# -eq 0 ] && usage

while getopts ":u:c:p:h" arg; do
Expand Down

0 comments on commit a312d40

Please sign in to comment.