diff --git a/ChangeLog b/ChangeLog index 73fa708..b1132ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ btrbk-0.27.0-dev "readlink" and "cat /proc/self/mountinfo"). * Add "preserve_hour_of_day" configuration option (close #202). * Allow backup of filesystem root using "subvolume ." (close #240). + * Add "-S" command line option (shortcut for --print-schedule). * Bugfix: correct scheduling of "first weekly backup in month/year" (close #217). Note that this change may result in (previously preserved) backups to be deleted! diff --git a/btrbk b/btrbk index ab6cf99..b25f1fa 100755 --- a/btrbk +++ b/btrbk @@ -321,7 +321,7 @@ options: -l, --loglevel=LEVEL set logging level (warn, info, debug, trace) -t, --table change output to table format --format=FORMAT change output format, FORMAT=table|long|raw - --print-schedule print scheduler details (for the "run" command) + -S, --print-schedule print scheduler details (for the "run" command) --progress show progress bar on send-receive operation commands: @@ -4451,7 +4451,7 @@ MAIN: 'progress' => \$show_progress, 'table|t' => sub { $output_format = "table" }, 'format=s' => \$output_format, - 'print-schedule' => \$print_schedule, + 'print-schedule|S' => \$print_schedule, 'lockfile=s' => \$lockfile_cmdline, 'override=s' => \@config_override_cmdline, # e.g. --override=incremental=no )) diff --git a/doc/btrbk.1.asciidoc b/doc/btrbk.1.asciidoc index 732e232..41abead 100644 --- a/doc/btrbk.1.asciidoc +++ b/doc/btrbk.1.asciidoc @@ -21,7 +21,7 @@ btrbk [-h|--help] [--version] [-p|--preserve] [--preserve-snapshots] [--preserve-backups] [-v|--verbose] [-q|--quiet] [-l|--loglevel ] [-t|--table] [--format ] - [--progress] [--print-schedule] + [--progress] [-S|--print-schedule] [--override =] [--lockfile ] [] @@ -125,7 +125,7 @@ OPTIONS --progress:: Show progress bar on send-receive operation. ---print-schedule:: +-S, --print-schedule:: Print detailed scheduler information on *run*, *snapshot*, *resume*, *prune* and *archive* commands. Use the '--format' command line option to switch between different output formats. diff --git a/doc/btrbk.conf.5.asciidoc b/doc/btrbk.conf.5.asciidoc index be9cf14..914f292 100644 --- a/doc/btrbk.conf.5.asciidoc +++ b/doc/btrbk.conf.5.asciidoc @@ -424,7 +424,7 @@ The reference time (which defines the beginning of a day, week, month or year) for all date/time calculations is the local time of the host running btrbk. -Hint: Run btrbk with the '--print-schedule' option to get a +Hint: Run btrbk with the '-S', '--print-schedule' option to get a comprehensive output of the scheduler results. Caveats: