mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
Improve formatting of Hugo command descriptions
Trying to make them look good both in the terminal (`hugo help [command]`) and in the web browser (http://gohugo.io/commands/). :-)
This commit is contained in:
parent
e64e571b67
commit
f2ab0b2608
31 changed files with 432 additions and 388 deletions
|
@ -31,7 +31,7 @@ var timeLayout string // the layout for time.Time
|
|||
var version = &cobra.Command{
|
||||
Use: "version",
|
||||
Short: "Print the version number of Hugo",
|
||||
Long: `All software has versions. This is Hugo's`,
|
||||
Long: `All software has versions. This is Hugo's.`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
if hugolib.BuildDate == "" {
|
||||
setBuildDate() // set the build date from executable's mdate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue