mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[v2] Remove platform for now
This commit is contained in:
parent
d21fe2a526
commit
731d73d2e1
2 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ func AddBuildSubcommand(app *clir.Cli, w io.Writer) {
|
|||
|
||||
// Setup Platform flag
|
||||
platform := runtime.GOOS
|
||||
command.StringFlag("platform", "Platform to target", &platform)
|
||||
//command.StringFlag("platform", "Platform to target", &platform)
|
||||
|
||||
// Verbosity
|
||||
verbosity := 1
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ func AddSubCommand(app *clir.Cli, parent *clir.Command, w io.Writer) {
|
|||
|
||||
// name is mandatory
|
||||
if name == "" {
|
||||
command.PrintHelp()
|
||||
return fmt.Errorf("no template name given")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue