diff options
-rwxr-xr-x | unperish | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -235,6 +235,9 @@ class Unperish(cliapp.Application): def cmd_publish_docs(self, args): '''Publish docs related to this project.''' + if not self.settings['web-directory']: + raise cliapp.AppException('Need --web-directory ' + 'for publish-docs.') docs = ['README', 'NEWS'] for doc in docs: if os.path.exists(doc): |