Skip to content

Commit 65fe547

Browse files
fix description bug in TextArgument
1 parent 88f37a0 commit 65fe547

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Code/ArgumentSystem/Arguments/TextArgument.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace SER.Code.ArgumentSystem.Arguments;
1111
public class TextArgument(string name, bool needsQuotes = true, bool allowsSpaces = true) : Argument(name)
1212
{
1313
public override string InputDescription => "Any text e.g. \"Hello, World!\""
14-
+ (needsQuotes ? " (it can be without the quotes)" : "")
14+
+ (!needsQuotes ? " (it can be without the quotes)" : "")
1515
+ (!allowsSpaces ? " but it CANNOT contain spaces!" : "");
1616

1717
[UsedImplicitly]

0 commit comments

Comments
 (0)