sanity: move from json to yaml

This commit is contained in:
tycho garen
2013-07-06 19:36:30 -04:00
parent f875577197
commit a7f5f97bc2
21 changed files with 82 additions and 82 deletions

View File

@@ -17,7 +17,7 @@ import (
"flag"
"fmt"
"github.com/howeyc/fsnotify"
"github.com/spf13/hugo/hugolib"
"./hugolib"
"net/http"
"os"
"path/filepath"
@@ -26,12 +26,12 @@ import (
)
const (
cfgFiledefault = "config.json"
cfgFiledefault = "config.yaml"
)
var (
baseUrl = flag.String("b", "", "hostname (and path) to the root eg. http://spf13.com/")
cfgfile = flag.String("c", cfgFiledefault, "config file (default is path/config.json)")
cfgfile = flag.String("c", cfgFiledefault, "config file (default is path/config.yaml)")
checkMode = flag.Bool("k", false, "analyze content and provide feedback")
draft = flag.Bool("d", false, "include content marked as draft")
help = flag.Bool("h", false, "show this help")