diff --git a/app/app.go b/app/app.go index 59533f6..9b2eb63 100644 --- a/app/app.go +++ b/app/app.go @@ -252,7 +252,6 @@ offers several options for fine-grained control over the renaming process.`, EnableBashCompletion: true, Flags: []cli.Flag{ flagCSV, - flagDebug, flagExiftoolOpts, flagFind, flagReplace, diff --git a/app/app_test/testdata/help.golden b/app/app_test/testdata/help.golden index 560d194..34e76b7 100644 --- a/app/app_test/testdata/help.golden +++ b/app/app_test/testdata/help.golden @@ -51,9 +51,6 @@ OPTIONS Allows the renaming operation to overwrite existing files. Caution: Using this option can lead to unrecoverable data loss. - --debug - Enables debug mode, providing more detailed logging and output. - -E, --exclude Excludes files and directories that match the provided regular expression. This flag can be repeated to specify multiple exclude patterns. diff --git a/app/flag.go b/app/flag.go index f580603..662b22a 100644 --- a/app/flag.go +++ b/app/flag.go @@ -47,12 +47,6 @@ var ( Caution: Using this option can lead to unrecoverable data loss.`, } - flagDebug = &cli.BoolFlag{ - Name: "debug", - Usage: ` - Enables debug mode, providing more detailed logging and output.`, - } - flagExclude = &cli.StringSliceFlag{ Name: "exclude", Aliases: []string{"E"}, diff --git a/app/help.go b/app/help.go index 216a213..2022488 100644 --- a/app/help.go +++ b/app/help.go @@ -45,12 +45,6 @@ func helpText(app *cli.App) string { flagAllowOverwrites.GetUsage(), ) - flagDebugHelp := fmt.Sprintf( - `%s %s`, - pterm.Green("--", flagDebug.Name), - flagDebug.GetUsage(), - ) - flagExcludeHelp := fmt.Sprintf( `%s, %s %s`, pterm.Green("-", flagExclude.Aliases[0]), @@ -285,8 +279,6 @@ Project repository: https://github.com/ayoisaiah/f2 %s - %s - %s %s @@ -309,7 +301,6 @@ Project repository: https://github.com/ayoisaiah/f2 flagUndoHelp, pterm.Bold.Sprintf("OPTIONS"), flagAllowOverwritesHelp, - flagDebugHelp, flagExcludeHelp, flagExcludeDirHelp, flagExiftoolOptsHelp,