Change -v flag description

This commit is contained in:
aditya-k2
2024-01-24 16:31:55 +05:30
parent 64d5343f57
commit 1b8a46fa31
2 changed files with 4 additions and 4 deletions

View File

@@ -130,9 +130,9 @@ Usage of ./gspt:
Use Icons Use Icons
-image string -image string
Show or Hide Image ( 'show' | 'hidden' ) Show or Hide Image ( 'show' | 'hidden' )
-v Do not display the cover art image. -v Output version information and exit
-version -version
Do not display the cover art image. Output version information and exit
``` ```
## Configuration ## Configuration

View File

@@ -18,9 +18,9 @@ type Flag struct {
func parseFlags() { func parseFlags() {
flag.BoolVar(&Flags.Version, "v", false, flag.BoolVar(&Flags.Version, "v", false,
"Do not display the cover art image.") "Output version information and exit")
flag.BoolVar(&Flags.Version, "version", false, flag.BoolVar(&Flags.Version, "version", false,
"Do not display the cover art image.") "Output version information and exit")
flag.BoolVar(&Flags.UseIcons, "icons", Config.UseIcons, flag.BoolVar(&Flags.UseIcons, "icons", Config.UseIcons,
"Use Icons") "Use Icons")
flag.StringVar(&Flags.ConfigPath, "c", userConfigPath, flag.StringVar(&Flags.ConfigPath, "c", userConfigPath,