Skip to content

Commit e3cd078

Browse files
committed
feat: add -p as short option to --port
1 parent c01d1af commit e3cd078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/serve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub struct Serve {
2525
#[arg(short = 'A', long, env = "TRUNK_SERVE_PREFER_ADDRESS_FAMILY")]
2626
pub prefer_address_family: Option<AddressFamily>,
2727
/// The port to serve on [default: 8080]
28-
#[arg(long, env = "TRUNK_SERVE_PORT")]
28+
#[arg(short, long, env = "TRUNK_SERVE_PORT")]
2929
pub port: Option<u16>,
3030
/// The aliases to serve on
3131
#[arg(long, env = "TRUNK_SERVE_ALIAS")]

0 commit comments

Comments
 (0)