diff --git a/docs/chart_repository.md b/docs/chart_repository.md
index 900d45d8d1f933d4f27ac1dd32b559e63a8b8b87..bd00f9b1229dee5ae382a9f2c54d2a6a3a236c7b 100644
--- a/docs/chart_repository.md
+++ b/docs/chart_repository.md
@@ -124,7 +124,7 @@ $ mv alpine-0.1.0.tgz fantastic-charts/
 Outside of your directory, run the `helm repo index [DIR] [URL]` command. This command takes the path of the local directory that you just created and the URL of your remote chart repository and composes an index.yaml file inside the given directory path.
 
 ```console
-$ helm repo index fantastic-charts https://storage.googleapis.com/fantastic-charts
+$ helm repo index fantastic-charts --url https://storage.googleapis.com/fantastic-charts
 ```
 
 Now, you can upload the chart and the index file to your chart repository using a sync tool or manually. If you're using Google Cloud Storage, check out this [example workflow](chart_repository_sync_example.md) using the gsutil client.
diff --git a/docs/chart_repository_sync_example.md b/docs/chart_repository_sync_example.md
index 41e5523f4dc9d3e60786caf80a8c17a0e21d8e13..9ca87a3ea1950c09f17440b64cd6bd43ea5f7163 100644
--- a/docs/chart_repository_sync_example.md
+++ b/docs/chart_repository_sync_example.md
@@ -19,7 +19,7 @@ $ mv alpine-0.1.0.tgz fantastic-charts/
 Use helm to generate an updated index.yaml file by passing in the directory path and the url of the remote repository to the `helm repo index` command like this:
 
 ```console
-$ helm repo index fantastic-charts/ https://storage.googleapis.com/fantastic-charts
+$ helm repo index fantastic-charts/ --url https://storage.googleapis.com/fantastic-charts
 ```
 This will generate an updated index.yaml file and place in the `fantastic-charts/` directory.