added file extension to the example for the -o option

Antonio Nardella
2021-07-28 15:40:24 +02:00
parent d11afc56e9
commit 7001c49480

@@ -200,9 +200,9 @@ dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -f Json
```
### Changing the output filename
You can change the filename by using `-o name`.
You can change the filename by using `-o name.EXTENSION`. e.g. for the html format
```powershell
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o myserver
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o myserver.html
```
### Changing the output directory
@@ -213,10 +213,10 @@ dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o "C:\Discord
```
### Changing the filename and output directory
You can change both the filename and export directory by using `-o directory\name`.
You can change both the filename and export directory by using `-o directory\name.EXTENSION`.
If any of the folders in the path has a space in its name, add quotes (").
```powershell
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports\myserver"
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports\myserver.html"
```
### Generating the filename and output directory dynamically