mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
Use flags for port/interface in serve cmd
This commit is contained in:
parent
5d7e0bb33e
commit
de5d711771
2 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
- Add back `draft` on pages that was wrongly removed
|
||||
- Page and Section `path` field is not starting with a `/` anymore
|
||||
- All Tera global fns are now rebuilt on changes
|
||||
- Use flags for port/interface in `gutenberg serve`
|
||||
|
||||
## 0.1.3 (2017-08-31)
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ pub fn build_cli() -> App<'static, 'static> {
|
|||
)
|
||||
(@subcommand serve =>
|
||||
(about: "Serve the site. Rebuild and reload on change automatically")
|
||||
(@arg interface: "Interface to bind on (default to 127.0.0.1)")
|
||||
(@arg port: "Which port to use (default to 1111)")
|
||||
(@arg interface: -i --interface +takes_value "Interface to bind on (default to 127.0.0.1)")
|
||||
(@arg port: -p --port +takes_value "Which port to use (default to 1111)")
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue