Man Page on Windows (#93)

* Man Page on Windows

* Corrected typo in update_windows_man_page.sh

* Check that the 'sed' (stream editor) binary exists
This commit is contained in:
thecliguy
2021-02-05 20:43:50 +00:00
committed by GitHub
parent 7878d66a46
commit 090b5d760b
5 changed files with 160 additions and 4 deletions

View File

@@ -56,10 +56,11 @@ class AuditConf:
self.threads = 32
self.list_policies = False
self.lookup = ''
self.manual = False
def __setattr__(self, name: str, value: Union[str, int, float, bool, Sequence[int]]) -> None:
valid = False
if name in ['ssh1', 'ssh2', 'batch', 'client_audit', 'colors', 'verbose', 'timeout_set', 'json', 'make_policy', 'list_policies']:
if name in ['ssh1', 'ssh2', 'batch', 'client_audit', 'colors', 'verbose', 'timeout_set', 'json', 'make_policy', 'list_policies', 'manual']:
valid, value = True, bool(value)
elif name in ['ipv4', 'ipv6']:
valid = False