hugo-server: add short/long options (#19291)

This commit is contained in:
Nelson Figueroa
2025-11-09 20:55:31 -08:00
committed by GitHub
parent f09311c530
commit 4144d6331a
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -9,7 +9,7 @@
- Construye y publica un sitio en un número de puerto especificado:
`hugo server --port {{número_de_puerto}}`
`hugo server {{[-p|--port]}} {{número_de_puerto}}`
- Construye y publica un sitio mientras se minimizan los formatos de salida soportados (HTML, XML, etc.):
@@ -17,8 +17,8 @@
- Construye y sirve un sitio en el entorno de producción con reconstrucción completa (re-render) disminuyendo el tamaño (minify) en los formatos soportados:
`hugo server --environment {{producción}} --disableFastRender --minify`
`hugo server {{[-e|--environment]}} {{producción}} --disableFastRender --minify`
- Muestra la ayuda:
`hugo server --help`
`hugo server {{[-h|--help]}}`
+2 -2
View File
@@ -9,7 +9,7 @@
- 지정된 포트 번호에서 사이트 구축 및 제공:
`hugo server --port {{포트_번호}}`
`hugo server {{[-p|--port]}} {{포트_번호}}`
- 지원되는 출력 형식 (HTML, XML 등)을 최소화하면서 사이트를 구축하고 제공:
@@ -17,4 +17,4 @@
- 도움말 표시:
`hugo server --help`
`hugo server {{[-h|--help]}}`