diff --git a/go/cli/mcap/cmd/attachment.go b/go/cli/mcap/cmd/attachment.go index 4364bdb3f..2f868f06e 100644 --- a/go/cli/mcap/cmd/attachment.go +++ b/go/cli/mcap/cmd/attachment.go @@ -196,10 +196,18 @@ func init() { &addAttachmentMediaType, "content-type", "", "application/octet-stream", "content type of attachment", ) addAttachmentCmd.PersistentFlags().StringVarP( - &addAttachmentLogTime, "log-time", "", "", "attachment log time in nanoseconds or RFC3339 format (defaults to current timestamp)", + &addAttachmentLogTime, + "log-time", + "", + "", + "attachment log time in nanoseconds or RFC3339 format (defaults to current timestamp)", ) addAttachmentCmd.PersistentFlags().StringVarP( - &addAttachmentLogTime, "creation-time", "", "", "attachment creation time in nanoseconds or RFC3339 format (defaults to ctime)", + &addAttachmentLogTime, + "creation-time", + "", + "", + "attachment creation time in nanoseconds or RFC3339 format (defaults to ctime)", ) err := addAttachmentCmd.MarkPersistentFlagRequired("file") if err != nil { diff --git a/go/cli/mcap/cmd/filter.go b/go/cli/mcap/cmd/filter.go index dc040c3b6..f33b0891b 100644 --- a/go/cli/mcap/cmd/filter.go +++ b/go/cli/mcap/cmd/filter.go @@ -437,7 +437,8 @@ usage: "start-secs", "s", 0, - "only include messages logged at or after this time. Accepts integer seconds. Ignored if `--startk` or `--start-nsecs` are used.", + "only include messages logged at or after this time. Accepts integer seconds."+ + "Ignored if `--startk` or `--start-nsecs` are used.", ) startNano := filterCmd.PersistentFlags().Uint64( "start-nsecs", @@ -454,7 +455,8 @@ usage: "end-secs", "e", 0, - "only include messages logged before this time. Accepts integer seconds. Ignored if `--end` or `--end-nsecs` are used.", + "only include messages logged before this time. Accepts integer seconds."+ + "Ignored if `--end` or `--end-nsecs` are used.", ) endNano := filterCmd.PersistentFlags().Uint64( "end-nsecs",