Merge remote-tracking branch 'origin/main' into mostynb-report_source_of_parse_errors

This commit is contained in:
2022-05-22 09:44:39 -04:00
49 changed files with 885 additions and 304 deletions

View File

@@ -58,11 +58,6 @@ func (t *Timestamp) Get() interface{} {
return *t
}
// IsRequired returns whether or not the flag is required
func (f *TimestampFlag) IsRequired() bool {
return f.Required
}
// TakesValue returns true of the flag takes a value, otherwise false
func (f *TimestampFlag) TakesValue() bool {
return true
@@ -82,11 +77,6 @@ func (f *TimestampFlag) GetValue() string {
return ""
}
// IsVisible returns true if the flag is not hidden, otherwise false
func (f *TimestampFlag) IsVisible() bool {
return !f.Hidden
}
// GetDefaultText returns the default text for this flag
func (f *TimestampFlag) GetDefaultText() string {
if f.DefaultText != "" {