mirror of
https://github.com/nsnail/dot.git
synced 2025-06-17 21:13:21 +08:00
17 lines
409 B
C#
17 lines
409 B
C#
namespace Dot.Time;
|
|
|
|
public class Option : OptionBase
|
|
{
|
|
[CommandOption("-s|--sync")]
|
|
[Description(nameof(Str.SyncToLocalTime))]
|
|
[Localization(typeof(Str))]
|
|
[DefaultValue(false)]
|
|
public bool Sync { get; set; }
|
|
|
|
|
|
[CommandOption("-t|--timeout")]
|
|
[Description(nameof(Str.TimeoutMillSecs))]
|
|
[Localization(typeof(Str))]
|
|
[DefaultValue(2000)]
|
|
public int Timeout { get; set; }
|
|
} |