Skip to content

Commit 666d59d

Browse files
authored
Updating README and main.go to fix formatting (#20)
1 parent b16c1df commit 666d59d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ kubectl-parallel-exec -kubeconfig /path/to/kubeconfig -c container-name -l label
6161
- `-kubeconfig`: Path to the kubeconfig file. If not provided, in-cluster configuration will be used.
6262
- `-c`: Container to execute the command against.
6363
- `-l`: Label selector to filter the pods.
64+
- `-n`: Namespace filter
65+
- `-v`: Print the version
6466
- `command-to-execute`: The command to run inside the specified container in each pod.
6567

6668
Example

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func main() {
5858
container := flag.String("c", "", "Container to execute the command against")
5959
labelSelector := flag.String("l", "", "Label selector to filter pods")
6060
namespace := flag.String("n", "", "Namespace filter")
61-
versionFlag := flag.Bool("v", false, "print the version")
61+
versionFlag := flag.Bool("v", false, "Print the version")
6262
flag.Parse()
6363

6464
if *versionFlag {

0 commit comments

Comments
 (0)