fix(cli): correct help text for font subcommand

This commit is contained in:
L. Yeung 2022-06-04 11:52:00 +08:00 committed by Jan De Dobbeleer
parent 0a46189556
commit eb91390a46
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ var fontCmd = &cobra.Command{
This command is used to install fonts and configure the font in your terminal.
- install: oh-my-posh install font https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/3270.zip`,
- install: oh-my-posh font install https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/3270.zip`,
ValidArgs: []string{
"install",
"configure",

View file

@ -212,7 +212,7 @@ func (m *main) View() string {
case installFont:
return textStyle.Render(fmt.Sprintf("%s Installing %s", m.spinner.View(), m.fontname))
case quit:
return textStyle.Render("No need to install a new font? Thats cool.")
return textStyle.Render("No need to install a new font? That's cool.")
case done:
return textStyle.Render(fmt.Sprintf("Successfully installed %s 🚀", m.fontname))
}