mirror of https://github.com/digint/btrbk
btrbk: table_formats: add skip-row-if-empty flag on all "*host"
parent
716d420a40
commit
318e3af088
14
btrbk
14
btrbk
|
@ -168,34 +168,34 @@ my %config_options = (
|
|||
my @config_target_types = qw(send-receive raw);
|
||||
|
||||
my %table_formats = (
|
||||
list_volume => { table => [ qw( volume_host volume_path ) ],
|
||||
list_volume => { table => [ qw( -volume_host volume_path ) ],
|
||||
long => [ qw( volume_host volume_path ) ],
|
||||
raw => [ qw( volume_url volume_host volume_path volume_rsh ) ],
|
||||
},
|
||||
list_source => { table => [ qw( source_host source_subvol snapshot_path snapshot_name ) ],
|
||||
list_source => { table => [ qw( -source_host source_subvol snapshot_path snapshot_name ) ],
|
||||
long => [ qw( source_host source_subvol snapshot_path snapshot_name ) ],
|
||||
raw => [ qw( source_url source_host source_path snapshot_path snapshot_name source_rsh ) ],
|
||||
},
|
||||
list_target => { table => [ qw( target_host target_path ) ],
|
||||
list_target => { table => [ qw( -target_host target_path ) ],
|
||||
long => [ qw( target_host target_path ) ],
|
||||
raw => [ qw( target_url target_host target_path target_rsh ) ],
|
||||
},
|
||||
list => { table => [ qw( source_host source_subvol snapshot_path snapshot_name target_host target_path ) ],
|
||||
list => { table => [ qw( -source_host source_subvol snapshot_path snapshot_name -target_host target_path ) ],
|
||||
long => [ qw( source_host source_subvol snapshot_path snapshot_name snapshot_preserve target_host target_path target_preserve ) ],
|
||||
raw => [ qw( source_url source_host source_subvol snapshot_path snapshot_name snapshot_preserve target_url target_host target_path target_preserve source_rsh target_rsh ) ],
|
||||
},
|
||||
|
||||
resolved => { table => [ qw( source_host source_subvol snapshot_subvol status target_host target_subvol ) ],
|
||||
resolved => { table => [ qw( -source_host source_subvol snapshot_subvol status -target_host target_subvol ) ],
|
||||
long => [ qw( type source_host source_subvol snapshot_subvol status target_host target_subvol target_type ) ],
|
||||
raw => [ qw( type source_host source_path snapshot_path snapshot_name status target_host target_path target_type source_rsh target_rsh ) ],
|
||||
},
|
||||
|
||||
schedule => { table => [ qw( action host subvol scheme reason ) ],
|
||||
schedule => { table => [ qw( action -host subvol scheme reason ) ],
|
||||
long => [ qw( action host root_path subvol_path scheme reason ) ],
|
||||
raw => [ qw( topic action url host path hod dow min h d w m y) ],
|
||||
},
|
||||
|
||||
usage => { table => [ qw( host path size used free ) ],
|
||||
usage => { table => [ qw( -host path size used free ) ],
|
||||
long => [ qw( type host path size used device_size device_allocated device_unallocated device_missing device_used free free_min data_ratio metadata_ratio global_reserve global_reserve_used ) ],
|
||||
raw => [ qw( type host path size used device_size device_allocated device_unallocated device_missing device_used free free_min data_ratio metadata_ratio global_reserve global_reserve_used ) ],
|
||||
RALIGN => { size=>1, used=>1, device_size=>1, device_allocated=>1, device_unallocated=>1, device_missing=>1, device_used=>1, free=>1, free_min=>1, data_ratio=>1, metadata_ratio=>1, global_reserve=>1, global_reserve_used=>1 },
|
||||
|
|
Loading…
Reference in New Issue