File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ pub struct Serve {
28
28
#[ arg( long, env = "TRUNK_SERVE_PORT" ) ]
29
29
pub port : Option < u16 > ,
30
30
/// The aliases to serve on
31
- #[ arg( short , long, env = "TRUNK_SERVE_ALIAS" ) ]
32
- pub aliases : Option < Vec < String > > ,
31
+ #[ arg( long, env = "TRUNK_SERVE_ALIAS" ) ]
32
+ pub alias : Option < Vec < String > > ,
33
33
/// Open a browser tab once the initial build is complete [default: false]
34
34
#[ arg( long, env = "TRUNK_SERVE_OPEN" ) ]
35
35
#[ arg( default_missing_value="true" , num_args=0 ..=1 ) ]
@@ -109,7 +109,7 @@ impl Serve {
109
109
address,
110
110
prefer_address_family,
111
111
port,
112
- aliases ,
112
+ alias ,
113
113
open,
114
114
proxy :
115
115
ProxyArgs {
@@ -135,7 +135,7 @@ impl Serve {
135
135
136
136
config. serve . addresses = address. unwrap_or ( config. serve . addresses ) ;
137
137
config. serve . port = port. unwrap_or ( config. serve . port ) ;
138
- config. serve . aliases = aliases . unwrap_or ( config. serve . aliases ) ;
138
+ config. serve . aliases = alias . unwrap_or ( config. serve . aliases ) ;
139
139
config. serve . open = open. unwrap_or ( config. serve . open ) ;
140
140
config. serve . prefer_address_family =
141
141
prefer_address_family. or ( config. serve . prefer_address_family ) ;
You can’t perform that action at this time.
0 commit comments