Skip to content

Commit f12ff9a

Browse files
Replace all deprecated cli options (#45)
1 parent 39e5d89 commit f12ff9a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ npm install
4444
```
4545

4646
```bash
47-
dapr run --protocol grpc --grpc-port=50001 node app.js
47+
dapr run --app-protocol grpc --dapr-grpc-port=50001 node app.js
4848
```
4949

5050
### Generate gRPC interface and proto buf stubs

examples/simple/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ spec:
1818
1919
Run the app using the following command
2020
```bash
21-
dapr run --protocol grpc --grpc-port=50001 node app.js
21+
dapr run --app-protocol grpc --dapr-grpc-port=50001 node app.js
2222
```

examples/typescript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ npm install
2323

2424
Run the following command to start the app
2525
```bash
26-
dapr run --app-id nodeapp --protocol grpc --grpc-port=50001 ./node_modules/.bin/ts-node app.ts
26+
dapr run --app-id nodeapp --app-protocol grpc --dapr-grpc-port=50001 ./node_modules/.bin/ts-node app.ts
2727
```
2828

0 commit comments

Comments
 (0)