remove unused code

This commit is contained in:
Lynn Cyrin 2019-07-18 00:52:24 -07:00
parent d8985dc6d5
commit 7ce0af189e
No known key found for this signature in database
GPG Key ID: EE9CCB427DFEC897

12
flag.go
View File

@ -649,18 +649,6 @@ func withEnvHint(envVar, str string) string {
return str + envText
}
func withRequiredHint(isRequired bool, str string) string {
if isRequired {
return str + " (required)"
}
return str
}
func withHints(envVar string, isRequired bool, str string) string {
return withRequiredHint(isRequired, withEnvHint(envVar, str))
}
func withFileHint(filePath, str string) string {
fileText := ""
if filePath != "" {