mirror of https://github.com/digint/btrbk
btrbk: add "-t, --table" command line option (shortcut for "--format=table")
parent
07f7bfe3a6
commit
01b7ab0ebf
|
@ -4,9 +4,9 @@ btrbk-current
|
||||||
* Allow filtering subcommands by group as well as targets.
|
* Allow filtering subcommands by group as well as targets.
|
||||||
* Added "config print" command.
|
* Added "config print" command.
|
||||||
* Added "list" command (experimental).
|
* Added "list" command (experimental).
|
||||||
* Added "--format=table|long|raw" command line option, producing
|
* Added "--format=table|long|raw" and "-t, --table" command line
|
||||||
tabular and raw (machine-readable) output for "(dry)run", "tree"
|
options, producing tabular and raw (machine-readable) output for
|
||||||
and "list" commands.
|
"(dry)run", "tree" and "list" commands.
|
||||||
* Added configuration option "ssh_cipher_spec" (close: #47).
|
* Added configuration option "ssh_cipher_spec" (close: #47).
|
||||||
* Added "target raw", with GnuPG and compression support
|
* Added "target raw", with GnuPG and compression support
|
||||||
(experimental).
|
(experimental).
|
||||||
|
|
2
btrbk
2
btrbk
|
@ -155,6 +155,7 @@ sub HELP_MESSAGE
|
||||||
print STDERR " -v, --verbose be verbose (set loglevel=info)\n";
|
print STDERR " -v, --verbose be verbose (set loglevel=info)\n";
|
||||||
print STDERR " -q, --quiet be quiet (do not print summary for the \"run\" command)\n";
|
print STDERR " -q, --quiet be quiet (do not print summary for the \"run\" command)\n";
|
||||||
print STDERR " -l, --loglevel=LEVEL set logging level (warn, info, debug, trace)\n";
|
print STDERR " -l, --loglevel=LEVEL set logging level (warn, info, debug, trace)\n";
|
||||||
|
print STDERR " -t, --table change output to table format\n";
|
||||||
print STDERR " --format=FORMAT change output format, FORMAT=table|long|raw\n";
|
print STDERR " --format=FORMAT change output format, FORMAT=table|long|raw\n";
|
||||||
print STDERR " --progress show progress bar on send-receive operation\n";
|
print STDERR " --progress show progress bar on send-receive operation\n";
|
||||||
print STDERR "\n";
|
print STDERR "\n";
|
||||||
|
@ -1770,6 +1771,7 @@ MAIN:
|
||||||
'verbose|v' => sub { $loglevel = 2; },
|
'verbose|v' => sub { $loglevel = 2; },
|
||||||
'loglevel|l=s' => \$loglevel,
|
'loglevel|l=s' => \$loglevel,
|
||||||
'progress' => \$show_progress,
|
'progress' => \$show_progress,
|
||||||
|
'table|t' => sub { $output_format = "table" },
|
||||||
'format=s' => \$output_format,
|
'format=s' => \$output_format,
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
|
|
|
@ -79,6 +79,11 @@ Set the level of verbosity. Accepted levels are warn, info, debug,
|
||||||
and trace.
|
and trace.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
|
\-t, \-\-table
|
||||||
|
.RS 4
|
||||||
|
Print output in table format (shortcut for "--format=table").
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
\-\-format table|long|raw
|
\-\-format table|long|raw
|
||||||
.RS 4
|
.RS 4
|
||||||
Print output in specified format. If set to "raw", prints
|
Print output in specified format. If set to "raw", prints
|
||||||
|
|
Loading…
Reference in New Issue