From ece3938ca825af56f34d62b84579f107a1077ba8 Mon Sep 17 00:00:00 2001 From: Derisis13 Date: Fri, 10 Dec 2021 21:04:59 +0100 Subject: [PATCH] changed help to display program name correctly changed setup.py to install with the correct name --- main.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index c5e9141..ed2c967 100644 --- a/main.py +++ b/main.py @@ -108,7 +108,7 @@ if __name__ == '__main__': else: for option, value in options: if option in ("-h", "--help"): - print("usage: backup_assistant [opts]\n" + print("usage: barusu [opts]\n" "Options:\n" "\t-h --help: show this\n" "\t-d --backup-dir [directory]: set the directory for the backup/restoration (default is ~/.backups)\n" diff --git a/setup.py b/setup.py index e89eb1b..be91591 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup import setuptools -setup(name="backup_assistant", +setup(name="barusu", version='1.0', description="Python apt and dconf backup tool", author="Derisis13", py_modules=["main"], packages=setuptools.find_packages())