config_ui: Always point out that the script can operate on the ENV

dev
Darksider3 4 years ago
parent b4bb45ef85
commit fb620447c7

@ -126,7 +126,7 @@ if __name__ == "__main__":
config = configparser.ConfigParser()
config.read(args.config)
L = ListUsers(config['DEFAULT']['applications_db'],
unapproved=args.unapproved, approved=args.approved)
unapproved=args.unapproved, approved=args.approved)
fetch = L.get_fetch()
if fetch:
B = Backup(args.file)

@ -1,6 +1,9 @@
import argparse
import lib.cwd
argparser = argparse.ArgumentParser(description='Tilde administration tools ', conflict_handler="resolve")
argparser = argparse.ArgumentParser(description='Tilde administration tools ',
conflict_handler="resolve")
argparser.add_argument('-c', '--config', default=lib.cwd.cwd,
type=str, help='Path to configuration file', required=False)
type=str,
help='Path to configuration file. If not set, we look for it in $TILDE_CONF',
required=False)

Loading…
Cancel
Save