Skip to content

Commit

Permalink
wrap lines
Browse files Browse the repository at this point in the history
  • Loading branch information
james-rms committed Nov 1, 2024
1 parent cc124f6 commit f8a6b7a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 10 additions & 2 deletions go/cli/mcap/cmd/attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 4 additions & 2 deletions go/cli/mcap/cmd/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit f8a6b7a

Please sign in to comment.