Skip to content

Commit

Permalink
Fix outdate help message for -markut flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Oct 12, 2024
1 parent 9e74270 commit e12a543
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions markut.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ var Subcommands = map[string]Subcommand{
Description: "Render specific cut of the final video",
Run: func (name string, args []string) bool {
subFlag := flag.NewFlagSet(name, flag.ContinueOnError)
markutPtr := subFlag.String("markut", "MARKUT", "Path to the Markut file with markers (mandatory)")
markutPtr := subFlag.String("markut", "MARKUT", "Path to the MARKUT file")

err := subFlag.Parse(args)
if err == flag.ErrHelp {
Expand Down Expand Up @@ -683,7 +683,7 @@ var Subcommands = map[string]Subcommand{
Description: "Render specific chunk of the final video",
Run: func (name string, args []string) bool {
subFlag := flag.NewFlagSet(name, flag.ContinueOnError)
markutPtr := subFlag.String("markut", "MARKUT", "Path to the Markut file with markers (mandatory)")
markutPtr := subFlag.String("markut", "MARKUT", "Path to the MARKUT file")
chunkPtr := subFlag.Int("chunk", 0, "Chunk number to render")

err := subFlag.Parse(args)
Expand Down Expand Up @@ -724,7 +724,7 @@ var Subcommands = map[string]Subcommand{
Description: "Render the final video",
Run: func (name string, args []string) bool {
subFlag := flag.NewFlagSet(name, flag.ContinueOnError)
markutPtr := subFlag.String("markut", "MARKUT", "Path to the Markut file with markers (mandatory)")
markutPtr := subFlag.String("markut", "MARKUT", "Path to the MARKUT file")

err := subFlag.Parse(args)
if err == flag.ErrHelp {
Expand Down Expand Up @@ -771,7 +771,7 @@ var Subcommands = map[string]Subcommand{
Description: "Print the summary of the video",
Run: func (name string, args []string) bool {
summFlag := flag.NewFlagSet(name, flag.ContinueOnError)
markutPtr := summFlag.String("markut", "MARKUT", "Path to the Markut file with markers (mandatory)")
markutPtr := summFlag.String("markut", "MARKUT", "Path to the MARKUT file")

err := summFlag.Parse(args)

Expand Down Expand Up @@ -799,7 +799,7 @@ var Subcommands = map[string]Subcommand{
Description: "Generate chat captions",
Run: func (name string, args []string) bool {
chatFlag := flag.NewFlagSet(name, flag.ContinueOnError)
markutPtr := chatFlag.String("markut", "MARKUT", "Path to the Markut file with markers (mandatory)")
markutPtr := chatFlag.String("markut", "MARKUT", "Path to the MARKUT file")

err := chatFlag.Parse(args)

Expand Down Expand Up @@ -849,7 +849,7 @@ var Subcommands = map[string]Subcommand{
Description: "Prune unused chunks",
Run: func (name string, args []string) bool {
subFlag := flag.NewFlagSet(name, flag.ContinueOnError)
markutPtr := subFlag.String("markut", "MARKUT", "Path to the Markut file with markers (mandatory)")
markutPtr := subFlag.String("markut", "MARKUT", "Path to the MARKUT file")

err := subFlag.Parse(args)

Expand Down Expand Up @@ -898,7 +898,7 @@ var Subcommands = map[string]Subcommand{
Description: "Render finished chunks in watch mode every time MARKUT file is modified",
Run: func (name string, args []string) bool {
subFlag := flag.NewFlagSet(name, flag.ContinueOnError)
markutPtr := subFlag.String("markut", "MARKUT", "Path to the Markut file with markers (mandatory)")
markutPtr := subFlag.String("markut", "MARKUT", "Path to the MARKUT file")
skipcatPtr := subFlag.Bool("skipcat", false, "Skip concatenation step")

err := subFlag.Parse(args)
Expand Down

0 comments on commit e12a543

Please sign in to comment.