Skip to content

Commit

Permalink
Added warning note if skipping first line
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefMarlin committed Mar 10, 2023
1 parent d0c3e62 commit 687a10e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/termsvg/rec/rec.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ func (cmd *Cmd) Run() error {
log.Info().Str("output", cmd.File).Msg("recording asciicast.")
log.Info().Msg("exit the opened program when you're done.")

if cmd.SkipFirstLine {
log.Warn().Msg("Skipping the first line of recording.")
}

err := rec(cmd.File, cmd.Command, cmd.SkipFirstLine)
if err != nil {
return err
Expand Down

0 comments on commit 687a10e

Please sign in to comment.