X-Git-Url: https://git.sthu.org/?p=sitarba.git;a=blobdiff_plain;f=shbackup;h=e57e2508500fe22a966357413cb6d398c73a9f20;hp=a13b96559f636573489ee479fc297a24f2f25481;hb=49e5f540ea30ec5a28a98dc560a34cfcace55d2f;hpb=9a7eb042b4588ada18de0b56fd48d91eaa49f84e diff --git a/shbackup b/shbackup index a13b965..e57e250 100755 --- a/shbackup +++ b/shbackup @@ -1,7 +1,7 @@ #!/usr/bin/python3 """A simple backup solution.""" -__version__ = "0.1" +__version__ = "2.0" __author__ = "Stefan Huber" import datetime @@ -596,11 +596,11 @@ def printUsage(): print("") print("Options:") print(" -h, --help print this usage text") - print(" -c, --conf use given configuration file") + print(" -c, --conf FILE use given configuration file") print(" default: /etc/shbackup.conf") - print(" -e, --epoch force to create backup for given epoch, which") + print(" -e, --epoch EPOCH force to create backup for given epoch, which") print(" can be 'sporadic' or one of the configured epochs") - print(" -m, --mode override mode: full, diff, or incr") + print(" -m, --mode MODE override mode: full, diff, or incr") print(" -v, --verbose be more verbose and interact with user") print(" --verbosity LEVEL set verbosity to LEVEL, which can be") print(" error, warning, info, debug")