We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e372f commit 841cb37Copy full SHA for 841cb37
kubectl-node_shell
@@ -39,18 +39,27 @@ while [ $# -gt 0 ]; do
39
namespace="--namespace=${key##*=}"
40
shift
41
;;
42
+ --)
43
+ shift
44
+ break
45
+ ;;
46
*)
47
if [ -z "$node" ]; then
48
node="$1"
49
50
else
- cmd+="\"$1\", "
- custom=true
51
+ echo "exactly one node required"
52
+ exit 1
53
fi
- shift
54
55
esac
56
done
57
58
+while [ $# -gt 0 ]; do
59
+ cmd+="\"$1\", "
60
+ custom=true
61
62
+done
63
if [ "$custom" = true ]; then
64
cmd="$(echo "$cmd" | awk '1' RS=', \n') ]"
65
0 commit comments