From 7001c494807365bccb1b670813a95dc13633dba8 Mon Sep 17 00:00:00 2001 From: Antonio Nardella Date: Wed, 28 Jul 2021 15:40:24 +0200 Subject: [PATCH] added file extension to the example for the `-o` option --- GUI,-CLI-and-Formats-explained.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GUI,-CLI-and-Formats-explained.md b/GUI,-CLI-and-Formats-explained.md index 3c1f123..855b0c0 100644 --- a/GUI,-CLI-and-Formats-explained.md +++ b/GUI,-CLI-and-Formats-explained.md @@ -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