Skip to content

dapr run CLI help text defaults incorrect for numerical values #1531

@WhitWaldo

Description

@WhitWaldo

Expected Behavior

When running dapr run --help, there are various flags provided for the Dapr gRPC and HTTP ports, as well as other numerical arguments. Ideally, these should read:

-G, --dapr-grpc-port int The gRPC port for Dapr to listen on (default 50001)
-H, --dapr-http-port int The HTTP port for Dapr to listen on (default 3500)

There are others as well.

Actual Behavior

The help text reads (default -1) for each of the numerical values. Here's a sample:

Image

Steps to Reproduce the Problem

  1. Install Dapr 1.15.2 CLI (latest stable) or latest RC (1.16.0-rc.1). I manually validated both.
  2. dapr run --help

Release Note

RELEASE NOTE: FIX Default numerical values for CLI arguments properly populating.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions