Updated Troubleshooting (markdown)

Yudi
2019-09-16 19:54:02 -03:00
parent 9fbefeb1dd
commit 84b41a6ef7

@@ -25,7 +25,11 @@ Try using date ranges or partitioning. (Issue [#125](https://github.com/Tyrrrz/D
# CLI
### How do I use the CLI?
Just run the CLI with the `-h` parameter, it should output the usage instructions.
Just run the CLI with the `-h` parameter when you need help, it should output the usage instructions:
```
DiscordChatExporter.Cli.exe -h
```
If you're using Docker, please refer to the [Docker Usage Instructions](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions).
### How do I export to TXT, CSV or Light HTML?
@@ -36,14 +40,15 @@ Date formats can be changed with the `--dateformat` option. The default one is `
<br/>
More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings).
### Option '-b' parse error: could not parse '\<BOTTOKEN>' to 'System.Boolean'
`-b` does not require a value, it just tells that the token is a bot token. The correct usage is:
`DiscordChatExporter.Cli.exe export -t <BOTTOKEN> -b -c <CHANNEL>`
### Can't find Docker exported chats
### I can't find Docker exported chats
Please refer to the [Docker Usage Instructions](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions#file-output)
### Option '-b' parse error: could not parse 'BOTTOKEN' to 'System.Boolean'
`-b` does not require a value, it just tells that the token is a bot token. The correct usage is:
```
DiscordChatExporter.Cli.exe export -t BOTTOKEN -b -c CHANNEL
```
### Username is not in the sudoers file. This incident will be reported
Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot.