Adds clarification to man page and removes old comment

This commit is contained in:
sloum 2020-05-19 14:40:56 -07:00
parent 9f1eb632bc
commit 0257ca92b1
2 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ The scheme that should be used when no scheme is present in a given URL. \fIgoph
.TP
.B
geminiblocks
Determines how to treat preformatted text blocks in text/gemini documents. \fIblock\fP will show the contents of the block, \fIalt\fP will show any available alt text for the block, \fIboth\fP will show both the content and the alt text, and \fIneither\fP will show neither.
Determines how to treat preformatted text blocks in text/gemini documents. \fIblock\fP will show the contents of the block, \fIalt\fP will show any available alt text for the block, \fIboth\fP will show both the content and the alt text, and \fIneither\fP will show neither. Unlike other settings, a change to this value will require a fresh page load to see the change.
.TP
.B
homeurl

View File

@ -459,7 +459,7 @@ func (c *client) doCommandAs(action string, values []string) {
}
case "SEARCH":
c.search(strings.Join(values, " "), "", "")
case "SET", "S": // TODO make the geminiblocks value work
case "SET", "S":
if _, ok := c.Options[values[0]]; ok {
val := strings.Join(values[1:], " ")
if !validateOpt(values[0], val) {