mirror of
https://github.com/Derisis13/barusu.git
synced 2025-12-06 19:42:48 +01:00
changed help to display program name correctly
changed setup.py to install with the correct name
This commit is contained in:
2
main.py
2
main.py
@@ -108,7 +108,7 @@ if __name__ == '__main__':
|
|||||||
else:
|
else:
|
||||||
for option, value in options:
|
for option, value in options:
|
||||||
if option in ("-h", "--help"):
|
if option in ("-h", "--help"):
|
||||||
print("usage: backup_assistant [opts]\n"
|
print("usage: barusu [opts]\n"
|
||||||
"Options:\n"
|
"Options:\n"
|
||||||
"\t-h --help: show this\n"
|
"\t-h --help: show this\n"
|
||||||
"\t-d --backup-dir [directory]: set the directory for the backup/restoration (default is ~/.backups)\n"
|
"\t-d --backup-dir [directory]: set the directory for the backup/restoration (default is ~/.backups)\n"
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -2,7 +2,7 @@ from distutils.core import setup
|
|||||||
|
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
setup(name="backup_assistant",
|
setup(name="barusu",
|
||||||
version='1.0', description="Python apt and dconf backup tool", author="Derisis13",
|
version='1.0', description="Python apt and dconf backup tool", author="Derisis13",
|
||||||
py_modules=["main"],
|
py_modules=["main"],
|
||||||
packages=setuptools.find_packages())
|
packages=setuptools.find_packages())
|
||||||
|
|||||||
Reference in New Issue
Block a user