mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
Improve wording in CLI exception when output path is ambiguous
Related to #929
This commit is contained in:
parent
3078351670
commit
9d052f9404
|
|
@ -121,7 +121,8 @@ public abstract class ExportCommandBase : TokenCommandBase
|
||||||
if (!isValidOutputPath)
|
if (!isValidOutputPath)
|
||||||
{
|
{
|
||||||
throw new CommandException(
|
throw new CommandException(
|
||||||
"Attempted to export multiple channels, but the output path is neither a directory nor a template."
|
"Attempted to export multiple channels, but the output path is neither a directory nor a template. " +
|
||||||
|
"If the provided output path is meant to be treated as a directory, make sure it ends with a slash."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue