changed help to display program name correctly

changed setup.py to install with the correct name
This commit is contained in:
2021-12-10 21:04:59 +01:00
parent fca39a93f6
commit ece3938ca8
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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())