Add some verbosity to param parsing
This commit is contained in:
parent
58aec3f911
commit
6b70a22b52
@ -136,9 +136,11 @@ class MikesBackup:
|
|||||||
elif arg == "--full":
|
elif arg == "--full":
|
||||||
valid_arg = True
|
valid_arg = True
|
||||||
self.__force_full = True
|
self.__force_full = True
|
||||||
|
self.log("Forcing a full backup")
|
||||||
elif arg == "--diff" or arg == "--differential":
|
elif arg == "--diff" or arg == "--differential":
|
||||||
valid_arg = True
|
valid_arg = True
|
||||||
self.__force_differential = True
|
self.__force_differential = True
|
||||||
|
self.log("Forcing a differential backup")
|
||||||
elif arg == "--log-dir":
|
elif arg == "--log-dir":
|
||||||
valid_arg = True
|
valid_arg = True
|
||||||
self.__log_dir = sys.argv[a + 1]
|
self.__log_dir = sys.argv[a + 1]
|
||||||
|
Loading…
Reference in New Issue
Block a user