shithub: hugo

Download patch

ref: 664fd991356861893632627c25e9827103a0e6c3
parent: dbb86679a1a2594d47b683756f2e9072b1576fed
author: Anthony Fok <[email protected]>
date: Thu Jan 29 09:19:12 EST 2015

Change "ctrl+c" to "Ctrl+C"

--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -233,7 +233,7 @@
 
 	if BuildWatch {
 		jww.FEEDBACK.Println("Watching for changes in", helpers.AbsPathify(viper.GetString("ContentDir")))
-		jww.FEEDBACK.Println("Press ctrl+c to stop")
+		jww.FEEDBACK.Println("Press Ctrl+C to stop")
 		utils.CheckErr(NewWatcher(0))
 	}
 }
--- a/commands/server.go
+++ b/commands/server.go
@@ -126,7 +126,7 @@
 
 	u.Scheme = "http"
 	jww.FEEDBACK.Printf("Web Server is available at %s\n", u.String())
-	fmt.Println("Press ctrl+c to stop")
+	fmt.Println("Press Ctrl+C to stop")
 
 	err = http.ListenAndServe(":"+strconv.Itoa(port), nil)
 	if err != nil {
--- a/docs/content/overview/quickstart.md
+++ b/docs/content/overview/quickstart.md
@@ -102,7 +102,7 @@
     in 5 ms
     Serving pages from exampleHugoSite/public
     Web Server is available at http://localhost:1313
-    Press ctrl+c to stop
+    Press Ctrl+C to stop
 
 We specified two options here:
 
@@ -134,7 +134,7 @@
     Watching for changes in exampleHugoSite/content
     Serving pages from exampleHugoSite/public
     Web Server is available at http://localhost:1313
-    Press ctrl+c to stop
+    Press Ctrl+C to stop
 
 Open your [favorite editor](http://vim.spf13.com/), edit and save your content, and watch as Hugo rebuilds and reloads automatically.
 
--- a/docs/content/overview/usage.md
+++ b/docs/content/overview/usage.md
@@ -71,7 +71,7 @@
        28 pages created
        in 18 ms
        Watching for changes in /Users/spf13/Code/hugo/docs/content
-       Press ctrl+c to stop
+       Press Ctrl+C to stop
 
 Hugo can even run a server and create your site at the same time! Hugo
 implements [LiveReload](/extras/livereload/) technology to automatically reload any open pages in
@@ -80,7 +80,7 @@
     $ hugo server -ws ~/mysite
        Watching for changes in /Users/spf13/Code/hugo/docs/content
        Web Server is available at http://localhost:1313
-       Press ctrl+c to stop
+       Press Ctrl+C to stop
        28 pages created
        0 tags created
        in 18 ms
--- a/docs/content/tutorials/creating-a-new-theme.md
+++ b/docs/content/tutorials/creating-a-new-theme.md
@@ -207,7 +207,7 @@
 in 2 ms
 Serving pages from /Users/quoha/Sites/zafta/public
 Web Server is available at http://localhost:1313
-Press ctrl+c to stop
+Press Ctrl+C to stop
 ```
 
 Connect to the listed URL (it's on the line that starts with "Web Server"). If everything is working correctly, you should get a page that shows the following:
@@ -463,7 +463,7 @@
 Watching for changes in /Users/quoha/Sites/zafta/content
 Serving pages from /Users/quoha/Sites/zafta/public
 Web Server is available at http://localhost:1313
-Press ctrl+c to stop
+Press Ctrl+C to stop
 INFO: 2014/09/29 File System Event: ["/Users/quoha/Sites/zafta/themes/zafta/layouts/index.html": MODIFY|ATTRIB]
 Change detected, rebuilding site