-
Notifications
You must be signed in to change notification settings - Fork 481
/
Copy pathOptionsParseMode.cs
27 lines (24 loc) · 1.06 KB
/
OptionsParseMode.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
namespace CommandLine
{
/// <summary>
/// Defines how commandline options are being parsed.
/// </summary>
public enum OptionsParseMode
{
/// <summary>
/// Options that start with a double dash must be defined using its full name. E.g. git rebase --interactive
/// Options that start with a single dash are interpreted as list of short named options. E.g. git clean -xdf
/// </summary>
Default,
/// <summary>
/// Options that start with a single or double dash are interpreted as short or full named option.
/// </summary>
SingleOrDoubleDash,
/// <summary>
/// Options that start with a single dash are interpreted as short or full named option.
/// Options that start with a double dash are considered an invalid input.
/// </summary>
SingleDashOnly
}
}