Commit 54b00da7 authored by juga's avatar juga
Browse files

Add info about disk requirements.

It will only be shown when running sbws without arguments.
parent a1ccfa43
......@@ -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 = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment