@@ -152,6 +152,7 @@ type ShowBackupOptions struct {
152152 DecryptionKMSURI StringOrPlaceholderOptList
153153 EncryptionPassphrase Expr
154154 Privileges bool
155+ SkipSize bool
155156
156157 // EncryptionInfoDir is a hidden option used when the user wants to run the deprecated
157158 //
@@ -221,6 +222,10 @@ func (o *ShowBackupOptions) Format(ctx *FmtCtx) {
221222 ctx .WriteString ("kms = " )
222223 ctx .FormatNode (& o .DecryptionKMSURI )
223224 }
225+ if o .SkipSize {
226+ maybeAddSep ()
227+ ctx .WriteString ("skip size" )
228+ }
224229 if o .DebugMetadataSST {
225230 maybeAddSep ()
226231 ctx .WriteString ("debug_dump_metadata_sst" )
@@ -253,6 +258,7 @@ func (o ShowBackupOptions) IsDefault() bool {
253258 cmp .Equal (o .DecryptionKMSURI , options .DecryptionKMSURI ) &&
254259 o .EncryptionPassphrase == options .EncryptionPassphrase &&
255260 o .Privileges == options .Privileges &&
261+ o .SkipSize == options .SkipSize &&
256262 o .DebugMetadataSST == options .DebugMetadataSST &&
257263 o .EncryptionInfoDir == options .EncryptionInfoDir &&
258264 o .CheckConnectionTransferSize == options .CheckConnectionTransferSize &&
@@ -322,6 +328,10 @@ func (o *ShowBackupOptions) CombineWith(other *ShowBackupOptions) error {
322328 if err != nil {
323329 return err
324330 }
331+ o .SkipSize , err = combineBools (o .SkipSize , other .SkipSize , "skip size" )
332+ if err != nil {
333+ return err
334+ }
325335 o .DebugMetadataSST , err = combineBools (o .DebugMetadataSST , other .DebugMetadataSST ,
326336 "debug_dump_metadata_sst" )
327337 if err != nil {
0 commit comments