GetSourceLong gets the long command description for an input-based command.
(inputArgDescription string)
| 233 | |
| 234 | // GetSourceLong gets the long command description for an input-based command. |
| 235 | func GetSourceLong(inputArgDescription string) string { |
| 236 | return fmt.Sprintf( |
| 237 | `The first argument is %s, which must be one of format %s. |
| 238 | This defaults to "." if no argument is specified.`, |
| 239 | inputArgDescription, |
| 240 | buffetch.SourceFormatsString, |
| 241 | ) |
| 242 | } |
| 243 | |
| 244 | // GetSourceDirLong gets the long command description for a directory-based command. |
| 245 | func GetSourceDirLong(inputArgDescription string) string { |
no outgoing calls
no test coverage detected
searching dependent graphs…