diff --git a/README.md b/README.md index cc79e78..d672a18 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Options: Port to serve the wiki at (default "1737") -url string URL at which your wiki can be found. Used to generate feeds (default "http://0.0.0.0:$port") - -user-tree string + -user-hypha string Hypha which is a superhypha of all user pages (default "u") ``` diff --git a/flag.go b/flag.go index e7ef67d..f3add19 100644 --- a/flag.go +++ b/flag.go @@ -15,7 +15,7 @@ func init() { flag.StringVar(&util.HomePage, "home", "home", "The home page name") flag.StringVar(&util.SiteNavIcon, "icon", "🍄", "What to show in the navititle in the beginning, before the colon") flag.StringVar(&util.SiteName, "name", "wiki", "What is the name of your wiki") - flag.StringVar(&util.UserTree, "user-tree", "u", "Hypha which is a superhypha of all user pages") + flag.StringVar(&util.UserHypha, "user-hypha", "u", "Hypha which is a superhypha of all user pages") flag.StringVar(&util.AuthMethod, "auth-method", "none", "What auth method to use. Variants: \"none\", \"fixed\"") flag.StringVar(&util.FixedCredentialsPath, "fixed-credentials-path", "mycocredentials.json", "Used when -auth-method=fixed. Path to file with user credentials.") } @@ -44,8 +44,8 @@ func parseCliArgs() { log.Fatal("Error: you must use a proper name for the homepage") } - if !isCanonicalName(util.UserTree) { - log.Fatal("Error: you must use a proper name for user tree") + if !isCanonicalName(util.UserHypha) { + log.Fatal("Error: you must use a proper name for user hypha") } switch util.AuthMethod { diff --git a/history/history.go b/history/history.go index dcd6268..f3d117d 100644 --- a/history/history.go +++ b/history/history.go @@ -118,7 +118,7 @@ func (rev Revision) RecentChangesEntry() (html string) {