[tor-commits] [sbws/master] Add info about disk requirements.
juga at torproject.org
juga at torproject.org
Tue Sep 18 09:26:11 UTC 2018
commit 54b00da7f92242e2680637746be0afb633feac55
Author: juga0 <juga at riseup.net>
Date: Thu Sep 6 16:59:23 2018 +0000
Add info about disk requirements.
It will only be shown when running sbws without arguments.
---
sbws/sbws.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sbws/sbws.py b/sbws/sbws.py
index 6f8752c..1ac13dd 100644
--- a/sbws/sbws.py
+++ b/sbws/sbws.py
@@ -14,6 +14,8 @@ from requests.__version__ import __version__ as requests_version
import platform
import logging
+from sbws.util.fs import sbws_required_disk_space
+
log = logging.getLogger(__name__)
@@ -51,6 +53,7 @@ def main():
log.critical(e)
exit(1)
configure_logging(args, conf)
+ parser.description = sbws_required_disk_space(conf)
def_args = [args, conf]
def_kwargs = {}
known_commands = {
More information about the tor-commits
mailing list