Skip to content

Commit

Permalink
Fix wikipedia URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhuan Oliveira committed May 7, 2022
1 parent e8b5712 commit c78cee2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/content/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ wikicmd looks for `~/.wikicmd.json` in order to read your configuration. You can

```sh
$ wikicmd config
Wiki address: (https://wikipedia.org)
Wiki address: (https://en.wikipedia.org/w)
Login: myuser
Password: mypassword

Expand All @@ -25,7 +25,7 @@ A configuration file is formatted as follows:
"config": [
{
"id": "my_wiki",
"address": "https://wikipedia.org",
"address": "https://en.wikipedia.org/w",
"user": "myuser",
"password": "mypassword"
}
Expand All @@ -43,7 +43,7 @@ An ID to identify a Wiki with.

### address

A Wiki URL. For example `https://wikipedia.org`.
A Wiki URL. For example `https://en.wikipedia.org/w`.

### user

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/spf13/cobra"
)

var defaultWiki = "https://wikipedia.org"
var defaultWiki = "https://en.wikipedia.org/w"

var configCmd = &cobra.Command{
Use: "config",
Expand Down

0 comments on commit c78cee2

Please sign in to comment.