Skip to content

Commit

Permalink
Sensible short flag for --kubeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
configurator committed Apr 28, 2020
1 parent 824ba34 commit 0cc63aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Mounts the default kubernetes cluster onto dir.
Unmounts a previously mounted directory. This will stop the process serving it, and will also work
if that process has been killed uncleanly.

- `--kubeconfig`:
- `-c`, `--kubeconfig`:

Like in `kubectl`, you can use the `--kubeconfig` flag to specify an alternate
`kube.config` file, or pass the `KUBECONFIG` environment flag. All contexts in the passed config
Expand Down
2 changes: 1 addition & 1 deletion kubefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
}

unmount := pflag.BoolP("unmount", "u", false, "Unmount")
kubeconfig := pflag.StringP("kubeconfig", "p", "", "absolute path to the kubeconfig file")
kubeconfig := pflag.StringP("kubeconfig", "c", "", "absolute path to the kubeconfig file")

pflag.Parse()
args := pflag.Args()
Expand Down

0 comments on commit 0cc63aa

Please sign in to comment.