diff --git a/btrbk b/btrbk index 7227b28..69ed01a 100755 --- a/btrbk +++ b/btrbk @@ -199,8 +199,8 @@ my %table_formats = ( raw => [ qw( target_url target_host target_port target_path target_rsh ) ], }, list => { table => [ qw( -source_host -source_port source_subvolume snapshot_path snapshot_name -target_host -target_port target_path ) ], - long => [ qw( -source_host -source_port source_subvolume snapshot_path snapshot_name -target_host -target_port target_path snapshot_preserve target_preserve ) ], - raw => [ qw( source_url source_host source_port source_subvolume snapshot_path snapshot_name target_url target_host target_port target_path snapshot_preserve target_preserve source_rsh target_rsh ) ], + long => [ qw( -source_host -source_port source_subvolume snapshot_path snapshot_name -target_host -target_port target_path target_type snapshot_preserve target_preserve ) ], + raw => [ qw( source_url source_host source_port source_subvolume snapshot_path snapshot_name target_url target_host target_port target_path target_type snapshot_preserve target_preserve source_rsh target_rsh ) ], }, resolved => { table => [ qw( -source_host -source_port source_subvolume snapshot_subvolume status -target_host -target_port -target_subvolume ) ], @@ -6530,6 +6530,7 @@ MAIN: my $targeth = { %$subvolh, vinfo_prefixed_keys("target", $droot), target_preserve => format_preserve_matrix(config_preserve_hash($droot, "target")), + target_type => $droot->{CONFIG}{target_type}, # "send-receive" or "raw" }; if($action_list eq "target") { next if($target_uniq{$droot->{URL}});