| 75 | formatter.unindent() |
| 76 | |
| 77 | def __formatFileNameParameter( parm, formatter ) : |
| 78 | |
| 79 | __formatParameter( parm, formatter ) |
| 80 | formatter.indent() |
| 81 | |
| 82 | e = parm.extensions |
| 83 | if len( e ) : |
| 84 | formatter.paragraph( "Valid extensions : " + " ".join( e ) ) |
| 85 | |
| 86 | if parm.mustExist : |
| 87 | formatter.paragraph( "File must exist" ) |
| 88 | |
| 89 | if parm.mustNotExist : |
| 90 | formatter.paragraph( "File must not exist" ) |
| 91 | |
| 92 | if not parm.allowEmptyString : |
| 93 | formatter.paragraph( "File must be specified" ) |
| 94 | |
| 95 | formatter.unindent() |
| 96 | |
| 97 | def __formatDirNameParameter( parm, formatter ) : |
| 98 | |