#NEWLINE# def usage_strings( plugins ) : #NEWLINE# #INDENT# 'Make usage strings late so that plugins can be initialised late' #NEWLINE# if ( 'nginx' in nginx_doc ) : #NEWLINE# #INDENT# nginx_doc = '--nginx           Use the Nginx plugin for authentication & installation' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# nginx_doc = '(nginx support is experimental, buggy, and not installed by default)' #NEWLINE# #UNINDENT# if ( 'apache' in plugins ) : #NEWLINE# #INDENT# apache_doc = '--apache          Use the Apache plugin for authentication & installation' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# apache_doc = '(the apache plugin is not installed)' #NEWLINE# #UNINDENT# return ( ( USAGE % ( apache_doc , nginx_doc ) ) , SHORT_USAGE )