mirror of
https://github.com/Derisis13/barusu.git
synced 2025-12-06 19:42:48 +01:00
Reformatted the print statement in the help
This commit is contained in:
8
main.py
8
main.py
@@ -109,10 +109,10 @@ if __name__ == '__main__':
|
|||||||
for option, value in options:
|
for option, value in options:
|
||||||
if option in ("-h", "--help"):
|
if option in ("-h", "--help"):
|
||||||
print("usage: barusu [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"
|
||||||
"\t-r --restore: run the restoration (from backupdir)\n")
|
"\t-r --restore: run the restoration (from backupdir)\n")
|
||||||
exit()
|
exit()
|
||||||
elif option in ("-d", "--backup-dir"):
|
elif option in ("-d", "--backup-dir"):
|
||||||
backupdir = os.path.expanduser(value)
|
backupdir = os.path.expanduser(value)
|
||||||
|
|||||||
Reference in New Issue
Block a user