Add some verbosity to param parsing

This commit is contained in:
Mike 2019-08-05 01:23:45 -07:00
parent 58aec3f911
commit 6b70a22b52

View File

@ -136,9 +136,11 @@ class MikesBackup:
elif arg == "--full":
valid_arg = True
self.__force_full = True
self.log("Forcing a full backup")
elif arg == "--diff" or arg == "--differential":
valid_arg = True
self.__force_differential = True
self.log("Forcing a differential backup")
elif arg == "--log-dir":
valid_arg = True
self.__log_dir = sys.argv[a + 1]