Skip to content

Commit

Permalink
Merge pull request #4990 from andydotxyz/fix/reviseinstallwording
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz authored Jul 5, 2024
2 parents 6aef0c3 + dabbb37 commit 97fbff9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/fyne/internal/commands/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ func Install() *cli.Command {
return &cli.Command{
Name: "install",
Usage: "Packages an application and installs an application.",
Description: `The install command packages an application for the current platform and copies it
into the system location for applications. This can be overridden with installDir`,
Description: `The install command packages an application for the current platform or one of the mobile targets.
It will copy the package to the system location for applications or a location specified by installDir.`,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "target",
Aliases: []string{"os"},
Usage: "The mobile platform to target (android, android/arm, android/arm64, android/amd64, android/386, ios, iossimulator).",
Usage: "Instead of the current system, target a mobile platform (android, android/arm, android/arm64, android/amd64, android/386, ios, iossimulator).",
Destination: &i.os,
},
&cli.StringFlag{
Expand Down Expand Up @@ -148,7 +148,7 @@ func (i *Installer) install() error {
return i.installAndroid()
}

return errors.New("Unsupported target operating system \"" + i.os + "\"")
return errors.New("Unsupported target operating system \"" + i.os + "\".\nTo install on the current platform simply omit the target/os parameter.")
}

if i.installDir == "" {
Expand Down

0 comments on commit 97fbff9

Please sign in to comment.