summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.go b/init.go
index ed54206..9c1fdc1 100644
--- a/init.go
+++ b/init.go
@@ -10,6 +10,9 @@ package ui
// It is not safe to call ui.Go() in a goroutine. It must be called directly from main().
//
// This model is undesirable, but Cocoa limitations require it.
+//
+// Go does not process the command line for flags (that is, it does not call flag.Parse()), nor does package ui add any of the underlying toolkit's supported command-line flags.
+// If you must, and if the toolkit also has environment variable equivalents to these flags (for instance, GTK+), use those instead.
func Go(main func()) error {
return ui(main)
}