Util: Rename ArgParser error types

This commit is contained in:
Riyyi
2021-09-13 15:22:12 +02:00
parent 35e2c2de48
commit 648c0f8c85
2 changed files with 26 additions and 26 deletions
+6 -6
View File
@@ -24,12 +24,12 @@ public:
enum class Error {
None,
InvalidOption, // For short options
UnrecognizedOption, // For long options
ExtraOperand, // For arguments
DoesntAllowArgument,
RequiresArgument,
InvalidArgumentType,
OptionInvalid, // For short options
OptionUnrecognized, // For long options
OptionDoesntAllowArgument,
OptionRequiresArgument,
ArgumentExtraOperand,
ArgumentInvalidType,
};
struct Option {