summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--args.go4
-rw-r--r--common.go2
2 files changed, 4 insertions, 2 deletions
diff --git a/args.go b/args.go
index fbcfe3d..52810df 100644
--- a/args.go
+++ b/args.go
@@ -20,8 +20,8 @@ func init() {
newlog.Register("gui", "debugGui", &debugGui)
- for _, s := range newlog.ListAll() {
- newlog.Info("go.wit.org/gui ListAll() returned:", s)
+ for _, s := range newlog.ListFlags() {
+ newlog.Info("go.wit.org/gui ListFlags() returned:", s)
}
}
diff --git a/common.go b/common.go
index 9a4300d..6bfbeaa 100644
--- a/common.go
+++ b/common.go
@@ -101,6 +101,8 @@ func (n *Node) AppendText(str string) {
func (n *Node) GetText() string {
if (n.S != n.Text) {
newlog.Warn("GetText() is screwed up. TODO: fix this dumb crap")
+ stuff := newlog.ListFlags()
+ newlog.Warn("ListFlags() =", stuff)
}
if (n.S != "") {
return n.S