Use bash comments in kubectl examples

Comments in kubectl examples should use bash comments, not Go comments.
So, replaces // by # for example strings.
This commit is contained in:
Peeyush Agarwal
2015-08-12 16:50:09 +00:00
parent 5c08d276a0
commit 05e069d038
63 changed files with 270 additions and 270 deletions

View File

@@ -34,10 +34,10 @@ const (
create_long = `Create a resource by filename or stdin.
JSON and YAML formats are accepted.`
create_example = `// Create a pod using the data in pod.json.
create_example = `# Create a pod using the data in pod.json.
$ kubectl create -f ./pod.json
// Create a pod based on the JSON passed into stdin.
# Create a pod based on the JSON passed into stdin.
$ cat pod.json | kubectl create -f -`
)