瀏覽代碼

Fix `--name` -> `--app`

abelanger5 4 年之前
父節點
當前提交
709d066d94
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/deploy/applications/deploying-from-the-cli.md

+ 1 - 1
docs/deploy/applications/deploying-from-the-cli.md

@@ -44,7 +44,7 @@ Porter will look for a `Dockerfile` located at the root of the current directory
 To point to a Dockerfile, you should pass the **relative path** to the Dockerfile from the root directory of the source code:
 To point to a Dockerfile, you should pass the **relative path** to the Dockerfile from the root directory of the source code:
 
 
 ```sh
 ```sh
-porter create web --name web-test --dockerfile /my/nested/Dockerfile
+porter create web --app web-test --dockerfile /my/nested/Dockerfile
 ```
 ```
 
 
 To use a cloud-native buildpack instead of a Dockerfile, you can specify the method directly:
 To use a cloud-native buildpack instead of a Dockerfile, you can specify the method directly: