http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs.go 
b/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs.go
deleted file mode 100644
index fa13631..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs.go
+++ /dev/null
@@ -1,175 +0,0 @@
-//Copyright 2015 Red Hat Inc. All rights reserved.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package doc
-
-import (
-       "fmt"
-       "io"
-       "os"
-       "path/filepath"
-       "sort"
-       "strings"
-       "time"
-
-       "github.com/spf13/cobra"
-)
-
-func printOptions(w io.Writer, cmd *cobra.Command, name string) error {
-       flags := cmd.NonInheritedFlags()
-       flags.SetOutput(w)
-       if flags.HasFlags() {
-               if _, err := fmt.Fprintf(w, "### Options\n\n```\n"); err != nil 
{
-                       return err
-               }
-               flags.PrintDefaults()
-               if _, err := fmt.Fprintf(w, "```\n\n"); err != nil {
-                       return err
-               }
-       }
-
-       parentFlags := cmd.InheritedFlags()
-       parentFlags.SetOutput(w)
-       if parentFlags.HasFlags() {
-               if _, err := fmt.Fprintf(w, "### Options inherited from parent 
commands\n\n```\n"); err != nil {
-                       return err
-               }
-               parentFlags.PrintDefaults()
-               if _, err := fmt.Fprintf(w, "```\n\n"); err != nil {
-                       return err
-               }
-       }
-       return nil
-}
-
-func GenMarkdown(cmd *cobra.Command, w io.Writer) error {
-       return GenMarkdownCustom(cmd, w, func(s string) string { return s })
-}
-
-func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler 
func(string) string) error {
-       name := cmd.CommandPath()
-
-       short := cmd.Short
-       long := cmd.Long
-       if len(long) == 0 {
-               long = short
-       }
-
-       if _, err := fmt.Fprintf(w, "## %s\n\n", name); err != nil {
-               return err
-       }
-       if _, err := fmt.Fprintf(w, "%s\n\n", short); err != nil {
-               return err
-       }
-       if _, err := fmt.Fprintf(w, "### Synopsis\n\n"); err != nil {
-               return err
-       }
-       if _, err := fmt.Fprintf(w, "\n%s\n\n", long); err != nil {
-               return err
-       }
-
-       if cmd.Runnable() {
-               if _, err := fmt.Fprintf(w, "```\n%s\n```\n\n", cmd.UseLine()); 
err != nil {
-                       return err
-               }
-       }
-
-       if len(cmd.Example) > 0 {
-               if _, err := fmt.Fprintf(w, "### Examples\n\n"); err != nil {
-                       return err
-               }
-               if _, err := fmt.Fprintf(w, "```\n%s\n```\n\n", cmd.Example); 
err != nil {
-                       return err
-               }
-       }
-
-       if err := printOptions(w, cmd, name); err != nil {
-               return err
-       }
-       if hasSeeAlso(cmd) {
-               if _, err := fmt.Fprintf(w, "### SEE ALSO\n"); err != nil {
-                       return err
-               }
-               if cmd.HasParent() {
-                       parent := cmd.Parent()
-                       pname := parent.CommandPath()
-                       link := pname + ".md"
-                       link = strings.Replace(link, " ", "_", -1)
-                       if _, err := fmt.Fprintf(w, "* [%s](%s)\t - %s\n", 
pname, linkHandler(link), parent.Short); err != nil {
-                               return err
-                       }
-                       cmd.VisitParents(func(c *cobra.Command) {
-                               if c.DisableAutoGenTag {
-                                       cmd.DisableAutoGenTag = 
c.DisableAutoGenTag
-                               }
-                       })
-               }
-
-               children := cmd.Commands()
-               sort.Sort(byName(children))
-
-               for _, child := range children {
-                       if !child.IsAvailableCommand() || child.IsHelpCommand() 
{
-                               continue
-                       }
-                       cname := name + " " + child.Name()
-                       link := cname + ".md"
-                       link = strings.Replace(link, " ", "_", -1)
-                       if _, err := fmt.Fprintf(w, "* [%s](%s)\t - %s\n", 
cname, linkHandler(link), child.Short); err != nil {
-                               return err
-                       }
-               }
-               if _, err := fmt.Fprintf(w, "\n"); err != nil {
-                       return err
-               }
-       }
-       if !cmd.DisableAutoGenTag {
-               if _, err := fmt.Fprintf(w, "###### Auto generated by 
spf13/cobra on %s\n", time.Now().Format("2-Jan-2006")); err != nil {
-                       return err
-               }
-       }
-       return nil
-}
-
-func GenMarkdownTree(cmd *cobra.Command, dir string) error {
-       identity := func(s string) string { return s }
-       emptyStr := func(s string) string { return "" }
-       return GenMarkdownTreeCustom(cmd, dir, emptyStr, identity)
-}
-
-func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, filePrepender, 
linkHandler func(string) string) error {
-       for _, c := range cmd.Commands() {
-               if !c.IsAvailableCommand() || c.IsHelpCommand() {
-                       continue
-               }
-               if err := GenMarkdownTreeCustom(c, dir, filePrepender, 
linkHandler); err != nil {
-                       return err
-               }
-       }
-
-       basename := strings.Replace(cmd.CommandPath(), " ", "_", -1) + ".md"
-       filename := filepath.Join(dir, basename)
-       f, err := os.Create(filename)
-       if err != nil {
-               return err
-       }
-       defer f.Close()
-
-       if _, err := io.WriteString(f, filePrepender(filename)); err != nil {
-               return err
-       }
-       if err := GenMarkdownCustom(cmd, f, linkHandler); err != nil {
-               return err
-       }
-       return nil
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs.md
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs.md 
b/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs.md
deleted file mode 100644
index 0c3b96e..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs.md
+++ /dev/null
@@ -1,104 +0,0 @@
-# Generating Markdown Docs For Your Own cobra.Command
-
-Generating man pages from a cobra command is incredibly easy. An example is as 
follows:
-
-```go
-package main
-
-import (
-       "github.com/spf13/cobra"
-       "github.com/spf13/cobra/doc"
-)
-
-func main() {
-       cmd := &cobra.Command{
-               Use:   "test",
-               Short: "my test program",
-       }
-       doc.GenMarkdownTree(cmd, "/tmp")
-}
-```
-
-That will get you a Markdown document `/tmp/test.md`
-
-## Generate markdown docs for the entire command tree
-
-This program can actually generate docs for the kubectl command in the 
kubernetes project
-
-```go
-package main
-
-import (
-       "io/ioutil"
-       "os"
-
-       kubectlcmd "k8s.io/kubernetes/pkg/kubectl/cmd"
-       cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
-
-       "github.com/spf13/cobra/doc"
-)
-
-func main() {
-       cmd := kubectlcmd.NewKubectlCommand(cmdutil.NewFactory(nil), os.Stdin, 
ioutil.Discard, ioutil.Discard)
-       doc.GenMarkdownTree(cmd, "./")
-}
-```
-
-This will generate a whole series of files, one for each command in the tree, 
in the directory specified (in this case "./")
-
-## Generate markdown docs for a single command
-
-You may wish to have more control over the output, or only generate for a 
single command, instead of the entire command tree. If this is the case you may 
prefer to `GenMarkdown` instead of `GenMarkdownTree`
-
-```go
-       out := new(bytes.Buffer)
-       doc.GenMarkdown(cmd, out)
-```
-
-This will write the markdown doc for ONLY "cmd" into the out, buffer.
-
-## Customize the output
-
-Both `GenMarkdown` and `GenMarkdownTree` have alternate versions with 
callbacks to get some control of the output:
-
-```go
-func GenMarkdownTreeCustom(cmd *Command, dir string, filePrepender, 
linkHandler func(string) string) error {
-       //...
-}
-```
-
-```go
-func GenMarkdownCustom(cmd *Command, out *bytes.Buffer, linkHandler 
func(string) string) error {
-       //...
-}
-```
-
-The `filePrepender` will prepend the return value given the full filepath to 
the rendered Markdown file. A common use case is to add front matter to use the 
generated documentation with [Hugo](http://gohugo.io/):
-
-```go
-const fmTemplate = `---
-date: %s
-title: "%s"
-slug: %s
-url: %s
----
-`
-
-filePrepender := func(filename string) string {
-       now := time.Now().Format(time.RFC3339)
-       name := filepath.Base(filename)
-       base := strings.TrimSuffix(name, path.Ext(name))
-       url := "/commands/" + strings.ToLower(base) + "/"
-       return fmt.Sprintf(fmTemplate, now, strings.Replace(base, "_", " ", 
-1), base, url)
-}
-```
-
-The `linkHandler` can be used to customize the rendered internal links to the 
commands, given a filename:
-
-```go
-linkHandler := func(name string) string {
-       base := strings.TrimSuffix(name, path.Ext(name))
-       return "/commands/" + strings.ToLower(base) + "/"
-}
-```
-

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs_test.go
----------------------------------------------------------------------
diff --git 
a/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs_test.go 
b/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs_test.go
deleted file mode 100644
index 86ee029..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/md_docs_test.go
+++ /dev/null
@@ -1,88 +0,0 @@
-package doc
-
-import (
-       "bytes"
-       "fmt"
-       "os"
-       "strings"
-       "testing"
-)
-
-var _ = fmt.Println
-var _ = os.Stderr
-
-func TestGenMdDoc(t *testing.T) {
-       c := initializeWithRootCmd()
-       // Need two commands to run the command alphabetical sort
-       cmdEcho.AddCommand(cmdTimes, cmdEchoSub, cmdDeprecated)
-       c.AddCommand(cmdPrint, cmdEcho)
-       cmdRootWithRun.PersistentFlags().StringVarP(&flags2a, "rootflag", "r", 
"two", strtwoParentHelp)
-
-       out := new(bytes.Buffer)
-
-       // We generate on s subcommand so we have both subcommands and parents
-       if err := GenMarkdown(cmdEcho, out); err != nil {
-               t.Fatal(err)
-       }
-       found := out.String()
-
-       // Our description
-       expected := cmdEcho.Long
-       if !strings.Contains(found, expected) {
-               t.Errorf("Unexpected response.\nExpecting to contain: \n 
%q\nGot:\n %q\n", expected, found)
-       }
-
-       // Better have our example
-       expected = cmdEcho.Example
-       if !strings.Contains(found, expected) {
-               t.Errorf("Unexpected response.\nExpecting to contain: \n 
%q\nGot:\n %q\n", expected, found)
-       }
-
-       // A local flag
-       expected = "boolone"
-       if !strings.Contains(found, expected) {
-               t.Errorf("Unexpected response.\nExpecting to contain: \n 
%q\nGot:\n %q\n", expected, found)
-       }
-
-       // persistent flag on parent
-       expected = "rootflag"
-       if !strings.Contains(found, expected) {
-               t.Errorf("Unexpected response.\nExpecting to contain: \n 
%q\nGot:\n %q\n", expected, found)
-       }
-
-       // We better output info about our parent
-       expected = cmdRootWithRun.Short
-       if !strings.Contains(found, expected) {
-               t.Errorf("Unexpected response.\nExpecting to contain: \n 
%q\nGot:\n %q\n", expected, found)
-       }
-
-       // And about subcommands
-       expected = cmdEchoSub.Short
-       if !strings.Contains(found, expected) {
-               t.Errorf("Unexpected response.\nExpecting to contain: \n 
%q\nGot:\n %q\n", expected, found)
-       }
-
-       unexpected := cmdDeprecated.Short
-       if strings.Contains(found, unexpected) {
-               t.Errorf("Unexpected response.\nFound: %v\nBut should not 
have!!\n", unexpected)
-       }
-}
-
-func TestGenMdNoTag(t *testing.T) {
-       c := initializeWithRootCmd()
-       // Need two commands to run the command alphabetical sort
-       cmdEcho.AddCommand(cmdTimes, cmdEchoSub, cmdDeprecated)
-       c.AddCommand(cmdPrint, cmdEcho)
-       c.DisableAutoGenTag = true
-       cmdRootWithRun.PersistentFlags().StringVarP(&flags2a, "rootflag", "r", 
"two", strtwoParentHelp)
-       out := new(bytes.Buffer)
-
-       if err := GenMarkdown(c, out); err != nil {
-               t.Fatal(err)
-       }
-       found := out.String()
-
-       unexpected := "Auto generated"
-       checkStringOmits(t, found, unexpected)
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/util.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/util.go 
b/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/util.go
deleted file mode 100644
index a1c6b89..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/cobra/doc/util.go
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2015 Red Hat Inc. All rights reserved.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package doc
-
-import "github.com/spf13/cobra"
-
-// Test to see if we have a reason to print See Also information in docs
-// Basically this is a test for a parent commend or a subcommand which is
-// both not deprecated and not the autogenerated help command.
-func hasSeeAlso(cmd *cobra.Command) bool {
-       if cmd.HasParent() {
-               return true
-       }
-       for _, c := range cmd.Commands() {
-               if !c.IsAvailableCommand() || c.IsHelpCommand() {
-                       continue
-               }
-               return true
-       }
-       return false
-}
-
-type byName []*cobra.Command
-
-func (s byName) Len() int           { return len(s) }
-func (s byName) Swap(i, j int)      { s[i], s[j] = s[j], s[i] }
-func (s byName) Less(i, j int) bool { return s[i].Name() < s[j].Name() }

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/.gitignore
----------------------------------------------------------------------
diff --git 
a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/.gitignore 
b/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/.gitignore
deleted file mode 100644
index 0026861..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/.gitignore
+++ /dev/null
@@ -1,22 +0,0 @@
-# Compiled Object files, Static and Dynamic libs (Shared Objects)
-*.o
-*.a
-*.so
-
-# Folders
-_obj
-_test
-
-# Architecture specific extensions/prefixes
-*.[568vq]
-[568vq].out
-
-*.cgo1.go
-*.cgo2.c
-_cgo_defun.c
-_cgo_gotypes.go
-_cgo_export.*
-
-_testmain.go
-
-*.exe

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/LICENSE
----------------------------------------------------------------------
diff --git 
a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/LICENSE 
b/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/LICENSE
deleted file mode 100644
index 4527efb..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Steve Francia
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/README.md
----------------------------------------------------------------------
diff --git 
a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/README.md 
b/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/README.md
deleted file mode 100644
index c6f327c..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/README.md
+++ /dev/null
@@ -1,161 +0,0 @@
-jWalterWeatherman
-=================
-
-Seamless printing to the terminal (stdout) and logging to a io.Writer
-(file) that’s as easy to use as fmt.Println.
-
-![and_that__s_why_you_always_leave_a_note_by_jonnyetc-d57q7um](https://cloud.githubusercontent.com/assets/173412/11002937/ccd01654-847d-11e5-828e-12ebaf582eaf.jpg)
-Graphic by 
[JonnyEtc](http://jonnyetc.deviantart.com/art/And-That-s-Why-You-Always-Leave-a-Note-315311422)
-
-JWW is primarily a wrapper around the excellent standard log library. It
-provides a few advantages over using the standard log library alone.
-
-1. Ready to go out of the box. 
-2. One library for both printing to the terminal and logging (to files).
-3. Really easy to log to either a temp file or a file you specify.
-
-
-I really wanted a very straightforward library that could seamlessly do
-the following things.
-
-1. Replace all the println, printf, etc statements thought my code with
-   something more useful
-2. Allow the user to easily control what levels are printed to stdout
-3. Allow the user to easily control what levels are logged
-4. Provide an easy mechanism (like fmt.Println) to print info to the user
-   which can be easily logged as well 
-5. Due to 2 & 3 provide easy verbose mode for output and logs
-6. Not have any unnecessary initialization cruft. Just use it.
-
-# Usage
-
-## Step 1. Use it
-Put calls throughout your source based on type of feedback.
-No initialization or setup needs to happen. Just start calling things.
-
-Available Loggers are:
-
- * TRACE
- * DEBUG
- * INFO
- * WARN
- * ERROR
- * CRITICAL
- * FATAL
-
-These each are loggers based on the log standard library and follow the
-standard usage. Eg..
-
-```go
-    import (
-        jww "github.com/spf13/jwalterweatherman"
-    )
-
-    ...
-
-    if err != nil {
-
-        // This is a pretty serious error and the user should know about
-        // it. It will be printed to the terminal as well as logged under the
-        // default thresholds.
-
-        jww.ERROR.Println(err)
-    }
-
-    if err2 != nil {
-        // This error isn’t going to materially change the behavior of the
-        // application, but it’s something that may not be what the user
-        // expects. Under the default thresholds, Warn will be logged, but
-        // not printed to the terminal. 
-
-        jww.WARN.Println(err2)
-    }
-
-    // Information that’s relevant to what’s happening, but not very
-    // important for the user. Under the default thresholds this will be
-    // discarded.
-
-    jww.INFO.Printf("information %q", response)
-
-```
-
-_Why 7 levels?_
-
-Maybe you think that 7 levels are too much for any application... and you
-are probably correct. Just because there are seven levels doesn’t mean
-that you should be using all 7 levels. Pick the right set for your needs.
-Remember they only have to mean something to your project.
-
-## Step 2. Optionally configure JWW
-
-Under the default thresholds :
-
- * Debug, Trace & Info goto /dev/null
- * Warn and above is logged (when a log file/io.Writer is provided)
- * Error and above is printed to the terminal (stdout)
-
-### Changing the thresholds
-
-The threshold can be changed at any time, but will only affect calls that
-execute after the change was made.
-
-This is very useful if your application has a verbose mode. Of course you
-can decide what verbose means to you or even have multiple levels of
-verbosity.
-
-
-```go
-    import (
-        jww "github.com/spf13/jwalterweatherman"
-    )
-
-    if Verbose {
-        jww.SetLogThreshold(jww.LevelTrace)
-        jww.SetStdoutThreshold(jww.LevelInfo)
-    }
-```
-
-Note that JWW's own internal output uses log levels as well, so set the log
-level before making any other calls if you want to see what it's up to.
-
-### Using a temp log file
-
-JWW conveniently creates a temporary file and sets the log Handle to
-a io.Writer created for it. You should call this early in your application
-initialization routine as it will only log calls made after it is executed. 
-When this option is used, the library will fmt.Println where to find the
-log file.
-
-```go
-    import (
-        jww "github.com/spf13/jwalterweatherman"
-    )
-
-    jww.UseTempLogFile("YourAppName") 
-
-```
-
-### Setting a log file
-
-JWW can log to any file you provide a path to (provided it’s writable).
-Will only append to this file.
-
-
-```go
-    import (
-        jww "github.com/spf13/jwalterweatherman"
-    )
-
-    jww.SetLogFile("/path/to/logfile") 
-
-```
-
-
-# More information
-
-This is an early release. I’ve been using it for a while and this is the
-third interface I’ve tried. I like this one pretty well, but no guarantees
-that it won’t change a bit.
-
-I wrote this for use in [hugo](http://hugo.spf13.com). If you are looking
-for a static website engine that’s super fast please checkout Hugo.

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/jww_test.go
----------------------------------------------------------------------
diff --git 
a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/jww_test.go 
b/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/jww_test.go
deleted file mode 100644
index c405185..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/jww_test.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright © 2016 Steve Francia <s...@spf13.com>.
-//
-// Use of this source code is governed by an MIT-style
-// license that can be found in the LICENSE file.
-
-package jwalterweatherman
-
-import (
-       "bytes"
-       "github.com/stretchr/testify/assert"
-       "sync"
-       "testing"
-)
-
-func TestLevels(t *testing.T) {
-       SetStdoutThreshold(LevelError)
-       assert.Equal(t, StdoutThreshold(), LevelError)
-       SetLogThreshold(LevelCritical)
-       assert.Equal(t, LogThreshold(), LevelCritical)
-       assert.NotEqual(t, StdoutThreshold(), LevelCritical)
-       SetStdoutThreshold(LevelWarn)
-       assert.Equal(t, StdoutThreshold(), LevelWarn)
-}
-
-func TestDefaultLogging(t *testing.T) {
-       outputBuf := new(bytes.Buffer)
-       logBuf := new(bytes.Buffer)
-       LogHandle = logBuf
-       OutHandle = outputBuf
-
-       SetLogThreshold(LevelWarn)
-       SetStdoutThreshold(LevelError)
-
-       FATAL.Println("fatal err")
-       CRITICAL.Println("critical err")
-       ERROR.Println("an error")
-       WARN.Println("a warning")
-       INFO.Println("information")
-       DEBUG.Println("debugging info")
-       TRACE.Println("trace")
-
-       assert.Contains(t, logBuf.String(), "fatal err")
-       assert.Contains(t, logBuf.String(), "critical err")
-       assert.Contains(t, logBuf.String(), "an error")
-       assert.Contains(t, logBuf.String(), "a warning")
-       assert.NotContains(t, logBuf.String(), "information")
-       assert.NotContains(t, logBuf.String(), "debugging info")
-       assert.NotContains(t, logBuf.String(), "trace")
-
-       assert.Contains(t, outputBuf.String(), "fatal err")
-       assert.Contains(t, outputBuf.String(), "critical err")
-       assert.Contains(t, outputBuf.String(), "an error")
-       assert.NotContains(t, outputBuf.String(), "a warning")
-       assert.NotContains(t, outputBuf.String(), "information")
-       assert.NotContains(t, outputBuf.String(), "debugging info")
-       assert.NotContains(t, outputBuf.String(), "trace")
-}
-
-func TestLogCounter(t *testing.T) {
-       ResetLogCounters()
-
-       FATAL.Println("fatal err")
-       CRITICAL.Println("critical err")
-       WARN.Println("a warning")
-       WARN.Println("another warning")
-       INFO.Println("information")
-       DEBUG.Println("debugging info")
-       TRACE.Println("trace")
-
-       wg := &sync.WaitGroup{}
-
-       for i := 0; i < 10; i++ {
-               wg.Add(1)
-               go func() {
-                       defer wg.Done()
-                       for j := 0; j < 10; j++ {
-                               ERROR.Println("error", j)
-                               // check for data races
-                               assert.True(t, LogCountForLevel(LevelError) > 
uint64(j))
-                               assert.True(t, 
LogCountForLevelsGreaterThanorEqualTo(LevelError) > uint64(j))
-                       }
-               }()
-
-       }
-
-       wg.Wait()
-
-       assert.Equal(t, uint64(1), LogCountForLevel(LevelFatal))
-       assert.Equal(t, uint64(1), LogCountForLevel(LevelCritical))
-       assert.Equal(t, uint64(2), LogCountForLevel(LevelWarn))
-       assert.Equal(t, uint64(1), LogCountForLevel(LevelInfo))
-       assert.Equal(t, uint64(1), LogCountForLevel(LevelDebug))
-       assert.Equal(t, uint64(1), LogCountForLevel(LevelTrace))
-       assert.Equal(t, uint64(100), LogCountForLevel(LevelError))
-       assert.Equal(t, uint64(102), 
LogCountForLevelsGreaterThanorEqualTo(LevelError))
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/thatswhyyoualwaysleaveanote.go
----------------------------------------------------------------------
diff --git 
a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/thatswhyyoualwaysleaveanote.go
 
b/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/thatswhyyoualwaysleaveanote.go
deleted file mode 100644
index b64ed46..0000000
--- 
a/newt/Godeps/_workspace/src/github.com/spf13/jwalterweatherman/thatswhyyoualwaysleaveanote.go
+++ /dev/null
@@ -1,256 +0,0 @@
-// Copyright © 2016 Steve Francia <s...@spf13.com>.
-//
-// Use of this source code is governed by an MIT-style
-// license that can be found in the LICENSE file.
-
-package jwalterweatherman
-
-import (
-       "fmt"
-       "io"
-       "io/ioutil"
-       "log"
-       "os"
-       "sync/atomic"
-)
-
-// Level describes the chosen log level between
-// debug and critical.
-type Level int
-
-type NotePad struct {
-       Handle  io.Writer
-       Level   Level
-       Prefix  string
-       Logger  **log.Logger
-       counter uint64
-}
-
-func (n *NotePad) incr() {
-       atomic.AddUint64(&n.counter, 1)
-}
-
-func (n *NotePad) resetCounter() {
-       atomic.StoreUint64(&n.counter, 0)
-}
-
-func (n *NotePad) getCount() uint64 {
-       return atomic.LoadUint64(&n.counter)
-}
-
-type countingWriter struct {
-       incrFunc func()
-}
-
-func (cw *countingWriter) Write(p []byte) (n int, err error) {
-       cw.incrFunc()
-
-       return 0, nil
-}
-
-// Feedback is special. It writes plainly to the output while
-// logging with the standard extra information (date, file, etc)
-// Only Println and Printf are currently provided for this
-type Feedback struct{}
-
-const (
-       LevelTrace Level = iota
-       LevelDebug
-       LevelInfo
-       LevelWarn
-       LevelError
-       LevelCritical
-       LevelFatal
-       DefaultLogThreshold    = LevelWarn
-       DefaultStdoutThreshold = LevelError
-)
-
-var (
-       TRACE      *log.Logger
-       DEBUG      *log.Logger
-       INFO       *log.Logger
-       WARN       *log.Logger
-       ERROR      *log.Logger
-       CRITICAL   *log.Logger
-       FATAL      *log.Logger
-       LOG        *log.Logger
-       FEEDBACK   Feedback
-       LogHandle  io.Writer  = ioutil.Discard
-       OutHandle  io.Writer  = os.Stdout
-       BothHandle io.Writer  = io.MultiWriter(LogHandle, OutHandle)
-       NotePads   []*NotePad = []*NotePad{trace, debug, info, warn, err, 
critical, fatal}
-
-       trace           *NotePad = &NotePad{Level: LevelTrace, Handle: 
os.Stdout, Logger: &TRACE, Prefix: "TRACE: "}
-       debug           *NotePad = &NotePad{Level: LevelDebug, Handle: 
os.Stdout, Logger: &DEBUG, Prefix: "DEBUG: "}
-       info            *NotePad = &NotePad{Level: LevelInfo, Handle: 
os.Stdout, Logger: &INFO, Prefix: "INFO: "}
-       warn            *NotePad = &NotePad{Level: LevelWarn, Handle: 
os.Stdout, Logger: &WARN, Prefix: "WARN: "}
-       err             *NotePad = &NotePad{Level: LevelError, Handle: 
os.Stdout, Logger: &ERROR, Prefix: "ERROR: "}
-       critical        *NotePad = &NotePad{Level: LevelCritical, Handle: 
os.Stdout, Logger: &CRITICAL, Prefix: "CRITICAL: "}
-       fatal           *NotePad = &NotePad{Level: LevelFatal, Handle: 
os.Stdout, Logger: &FATAL, Prefix: "FATAL: "}
-       logThreshold    Level    = DefaultLogThreshold
-       outputThreshold Level    = DefaultStdoutThreshold
-)
-
-const (
-       DATE  = log.Ldate
-       TIME  = log.Ltime
-       SFILE = log.Lshortfile
-       LFILE = log.Llongfile
-       MSEC  = log.Lmicroseconds
-)
-
-var logFlags = DATE | TIME | SFILE
-
-func init() {
-       SetStdoutThreshold(DefaultStdoutThreshold)
-}
-
-// initialize will setup the jWalterWeatherman standard approach of providing 
the user
-// some feedback and logging a potentially different amount based on 
independent log and output thresholds.
-// By default the output has a lower threshold than logged
-// Don't use if you have manually set the Handles of the different levels as 
it will overwrite them.
-func initialize() {
-       BothHandle = io.MultiWriter(LogHandle, OutHandle)
-
-       for _, n := range NotePads {
-               if n.Level < outputThreshold && n.Level < logThreshold {
-                       n.Handle = ioutil.Discard
-               } else if n.Level >= outputThreshold && n.Level >= logThreshold 
{
-                       n.Handle = BothHandle
-               } else if n.Level >= outputThreshold && n.Level < logThreshold {
-                       n.Handle = OutHandle
-               } else {
-                       n.Handle = LogHandle
-               }
-       }
-
-       for _, n := range NotePads {
-               n.Handle = io.MultiWriter(n.Handle, &countingWriter{n.incr})
-               *n.Logger = log.New(n.Handle, n.Prefix, logFlags)
-       }
-
-       LOG = log.New(LogHandle,
-               "LOG:   ",
-               logFlags)
-}
-
-// Set the log Flags (Available flag: DATE, TIME, SFILE, LFILE and MSEC)
-func SetLogFlag(flags int) {
-       logFlags = flags
-       initialize()
-}
-
-// Level returns the current global log threshold.
-func LogThreshold() Level {
-       return logThreshold
-}
-
-// Level returns the current global output threshold.
-func StdoutThreshold() Level {
-       return outputThreshold
-}
-
-// Ensures that the level provided is within the bounds of available levels
-func levelCheck(level Level) Level {
-       switch {
-       case level <= LevelTrace:
-               return LevelTrace
-       case level >= LevelFatal:
-               return LevelFatal
-       default:
-               return level
-       }
-}
-
-// Establishes a threshold where anything matching or above will be logged
-func SetLogThreshold(level Level) {
-       logThreshold = levelCheck(level)
-       initialize()
-}
-
-// Establishes a threshold where anything matching or above will be output
-func SetStdoutThreshold(level Level) {
-       outputThreshold = levelCheck(level)
-       initialize()
-}
-
-// Conveniently Sets the Log Handle to a io.writer created for the file behind 
the given filepath
-// Will only append to this file
-func SetLogFile(path string) {
-       file, err := os.OpenFile(path, os.O_RDWR|os.O_APPEND|os.O_CREATE, 0666)
-       if err != nil {
-               CRITICAL.Println("Failed to open log file:", path, err)
-               os.Exit(-1)
-       }
-
-       INFO.Println("Logging to", file.Name())
-
-       LogHandle = file
-       initialize()
-}
-
-// Conveniently Creates a temporary file and sets the Log Handle to a 
io.writer created for it
-func UseTempLogFile(prefix string) {
-       file, err := ioutil.TempFile(os.TempDir(), prefix)
-       if err != nil {
-               CRITICAL.Println(err)
-       }
-
-       INFO.Println("Logging to", file.Name())
-
-       LogHandle = file
-       initialize()
-}
-
-// LogCountForLevel returns the number of log invocations for a given level.
-func LogCountForLevel(l Level) uint64 {
-       for _, np := range NotePads {
-               if np.Level == l {
-                       return np.getCount()
-               }
-       }
-       return 0
-}
-
-// LogCountForLevelsGreaterThanorEqualTo returns the number of log invocations
-// greater than or equal to a given level threshold.
-func LogCountForLevelsGreaterThanorEqualTo(threshold Level) uint64 {
-       var cnt uint64
-       for _, np := range NotePads {
-               if np.Level >= threshold {
-                       cnt += np.getCount()
-               }
-       }
-       return cnt
-}
-
-// ResetLogCounters resets the invocation counters for all levels.
-func ResetLogCounters() {
-       for _, np := range NotePads {
-               np.resetCounter()
-       }
-}
-
-// Disables logging for the entire JWW system
-func DiscardLogging() {
-       LogHandle = ioutil.Discard
-       initialize()
-}
-
-// Feedback is special. It writes plainly to the output while
-// logging with the standard extra information (date, file, etc)
-// Only Println and Printf are currently provided for this
-func (fb *Feedback) Println(v ...interface{}) {
-       s := fmt.Sprintln(v...)
-       fmt.Print(s)
-       LOG.Output(2, s)
-}
-
-// Feedback is special. It writes plainly to the output while
-// logging with the standard extra information (date, file, etc)
-// Only Println and Printf are currently provided for this
-func (fb *Feedback) Printf(format string, v ...interface{}) {
-       s := fmt.Sprintf(format, v...)
-       fmt.Print(s)
-       LOG.Output(2, s)
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/.travis.yml
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/.travis.yml 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/.travis.yml
deleted file mode 100644
index c7d8e05..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/.travis.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-sudo: false
-
-language: go
-
-go:
-        - 1.3
-        - 1.4
-        - 1.5
-        - tip
-
-install:
-        - go get github.com/golang/lint/golint
-        - export PATH=$GOPATH/bin:$PATH
-        - go install ./...
-
-script:
-        - verify/all.sh -v
-        - go test ./...

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/LICENSE
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/LICENSE 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/LICENSE
deleted file mode 100644
index 63ed1cf..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/LICENSE
+++ /dev/null
@@ -1,28 +0,0 @@
-Copyright (c) 2012 Alex Ogier. All rights reserved.
-Copyright (c) 2012 The Go Authors. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-   * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-   * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-   * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/README.md
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/README.md 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/README.md
deleted file mode 100644
index e74dd50..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/README.md
+++ /dev/null
@@ -1,256 +0,0 @@
-[![Build 
Status](https://travis-ci.org/spf13/pflag.svg?branch=master)](https://travis-ci.org/spf13/pflag)
-
-## Description
-
-pflag is a drop-in replacement for Go's flag package, implementing
-POSIX/GNU-style --flags.
-
-pflag is compatible with the [GNU extensions to the POSIX recommendations
-for command-line options][1]. For a more precise description, see the
-"Command-line flag syntax" section below.
-
-[1]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
-
-pflag is available under the same style of BSD license as the Go language,
-which can be found in the LICENSE file.
-
-## Installation
-
-pflag is available using the standard `go get` command.
-
-Install by running:
-
-    go get github.com/spf13/pflag
-
-Run tests by running:
-
-    go test github.com/spf13/pflag
-
-## Usage
-
-pflag is a drop-in replacement of Go's native flag package. If you import
-pflag under the name "flag" then all code should continue to function
-with no changes.
-
-``` go
-import flag "github.com/spf13/pflag"
-```
-
-There is one exception to this: if you directly instantiate the Flag struct
-there is one more field "Shorthand" that you will need to set.
-Most code never instantiates this struct directly, and instead uses
-functions such as String(), BoolVar(), and Var(), and is therefore
-unaffected.
-
-Define flags using flag.String(), Bool(), Int(), etc.
-
-This declares an integer flag, -flagname, stored in the pointer ip, with type 
*int.
-
-``` go
-var ip *int = flag.Int("flagname", 1234, "help message for flagname")
-```
-
-If you like, you can bind the flag to a variable using the Var() functions.
-
-``` go
-var flagvar int
-func init() {
-    flag.IntVar(&flagvar, "flagname", 1234, "help message for flagname")
-}
-```
-
-Or you can create custom flags that satisfy the Value interface (with
-pointer receivers) and couple them to flag parsing by
-
-``` go
-flag.Var(&flagVal, "name", "help message for flagname")
-```
-
-For such flags, the default value is just the initial value of the variable.
-
-After all flags are defined, call
-
-``` go
-flag.Parse()
-```
-
-to parse the command line into the defined flags.
-
-Flags may then be used directly. If you're using the flags themselves,
-they are all pointers; if you bind to variables, they're values.
-
-``` go
-fmt.Println("ip has value ", *ip)
-fmt.Println("flagvar has value ", flagvar)
-```
-
-There are helpers function to get values later if you have the FlagSet but
-it was difficult to keep up with all of the the flag pointers in your code.
-If you have a pflag.FlagSet with a flag called 'flagname' of type int you
-can use GetInt() to get the int value. But notice that 'flagname' must exist
-and it must be an int. GetString("flagname") will fail.
-
-``` go
-i, err := flagset.GetInt("flagname")
-```
-
-After parsing, the arguments after the flag are available as the
-slice flag.Args() or individually as flag.Arg(i).
-The arguments are indexed from 0 through flag.NArg()-1.
-
-The pflag package also defines some new functions that are not in flag,
-that give one-letter shorthands for flags. You can use these by appending
-'P' to the name of any function that defines a flag.
-
-``` go
-var ip = flag.IntP("flagname", "f", 1234, "help message")
-var flagvar bool
-func init() {
-    flag.BoolVarP("boolname", "b", true, "help message")
-}
-flag.VarP(&flagVar, "varname", "v", 1234, "help message")
-```
-
-Shorthand letters can be used with single dashes on the command line.
-Boolean shorthand flags can be combined with other shorthand flags.
-
-The default set of command-line flags is controlled by
-top-level functions.  The FlagSet type allows one to define
-independent sets of flags, such as to implement subcommands
-in a command-line interface. The methods of FlagSet are
-analogous to the top-level functions for the command-line
-flag set.
-
-## Setting no option default values for flags
-
-After you create a flag it is possible to set the pflag.NoOptDefVal for
-the given flag. Doing this changes the meaning of the flag slightly. If
-a flag has a NoOptDefVal and the flag is set on the command line without
-an option the flag will be set to the NoOptDefVal. For example given:
-
-``` go
-var ip = flag.IntP("flagname", "f", 1234, "help message")
-flag.Lookup("flagname").NoOptDefVal = "4321"
-```
-
-Would result in something like
-
-| Parsed Arguments | Resulting Value |
-| -------------    | -------------   |
-| --flagname=1357  | ip=1357         |
-| --flagname       | ip=4321         |
-| [nothing]        | ip=1234         |
-
-## Command line flag syntax
-
-```
---flag    // boolean flags, or flags with no option default values
---flag x  // only on flags without a default value
---flag=x
-```
-
-Unlike the flag package, a single dash before an option means something
-different than a double dash. Single dashes signify a series of shorthand
-letters for flags. All but the last shorthand letter must be boolean flags
-or a flag with a default value
-
-```
-// boolean or flags where the 'no option default value' is set
--f
--f=true
--abc
-but
--b true is INVALID
-
-// non-boolean and flags without a 'no option default value'
--n 1234
--n=1234
--n1234
-
-// mixed
--abcs "hello"
--absd="hello"
--abcs1234
-```
-
-Flag parsing stops after the terminator "--". Unlike the flag package,
-flags can be interspersed with arguments anywhere on the command line
-before this terminator.
-
-Integer flags accept 1234, 0664, 0x1234 and may be negative.
-Boolean flags (in their long form) accept 1, 0, t, f, true, false,
-TRUE, FALSE, True, False.
-Duration flags accept any input valid for time.ParseDuration.
-
-## Mutating or "Normalizing" Flag names
-
-It is possible to set a custom flag name 'normalization function.' It allows 
flag names to be mutated both when created in the code and when used on the 
command line to some 'normalized' form. The 'normalized' form is used for 
comparison. Two examples of using the custom normalization func follow.
-
-**Example #1**: You want -, _, and . in flags to compare the same. aka 
--my-flag == --my_flag == --my.flag
-
-``` go
-func wordSepNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName {
-       from := []string{"-", "_"}
-       to := "."
-       for _, sep := range from {
-               name = strings.Replace(name, sep, to, -1)
-       }
-       return pflag.NormalizedName(name)
-}
-
-myFlagSet.SetNormalizeFunc(wordSepNormalizeFunc)
-```
-
-**Example #2**: You want to alias two flags. aka --old-flag-name == 
--new-flag-name
-
-``` go
-func aliasNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName {
-       switch name {
-       case "old-flag-name":
-               name = "new-flag-name"
-               break
-       }
-       return pflag.NormalizedName(name)
-}
-
-myFlagSet.SetNormalizeFunc(aliasNormalizeFunc)
-```
-
-## Deprecating a flag or its shorthand
-It is possible to deprecate a flag, or just its shorthand. Deprecating a 
flag/shorthand hides it from help text and prints a usage message when the 
deprecated flag/shorthand is used.
-
-**Example #1**: You want to deprecate a flag named "badflag" as well as inform 
the users what flag they should use instead.
-```go
-// deprecate a flag by specifying its name and a usage message
-flags.MarkDeprecated("badflag", "please use --good-flag instead")
-```
-This hides "badflag" from help text, and prints `Flag --badflag has been 
deprecated, please use --good-flag instead` when "badflag" is used.
-
-**Example #2**: You want to keep a flag name "noshorthandflag" but deprecate 
its shortname "n".
-```go
-// deprecate a flag shorthand by specifying its flag name and a usage message
-flags.MarkShorthandDeprecated("noshorthandflag", "please use --noshorthandflag 
only")
-```
-This hides the shortname "n" from help text, and prints `Flag shorthand -n has 
been deprecated, please use --noshorthandflag only` when the shorthand "n" is 
used.
-
-Note that usage message is essential here, and it should not be empty.
-
-## Hidden flags
-It is possible to mark a flag as hidden, meaning it will still function as 
normal, however will not show up in usage/help text.
-
-**Example**: You have a flag named "secretFlag" that you need for internal use 
only and don't want it showing up in help text, or for its usage text to be 
available.
-```go
-// hide a flag by specifying its name
-flags.MarkHidden("secretFlag")
-```
-
-## More info
-
-You can see the full reference documentation of the pflag package
-[at godoc.org][3], or through go's standard documentation system by
-running `godoc -http=:6060` and browsing to
-[http://localhost:6060/pkg/github.com/ogier/pflag][2] after
-installation.
-
-[2]: http://localhost:6060/pkg/github.com/ogier/pflag
-[3]: http://godoc.org/github.com/ogier/pflag

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/bool.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/bool.go 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/bool.go
deleted file mode 100644
index d272e40..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/bool.go
+++ /dev/null
@@ -1,97 +0,0 @@
-package pflag
-
-import (
-       "fmt"
-       "strconv"
-)
-
-// optional interface to indicate boolean flags that can be
-// supplied without "=value" text
-type boolFlag interface {
-       Value
-       IsBoolFlag() bool
-}
-
-// -- bool Value
-type boolValue bool
-
-func newBoolValue(val bool, p *bool) *boolValue {
-       *p = val
-       return (*boolValue)(p)
-}
-
-func (b *boolValue) Set(s string) error {
-       v, err := strconv.ParseBool(s)
-       *b = boolValue(v)
-       return err
-}
-
-func (b *boolValue) Type() string {
-       return "bool"
-}
-
-func (b *boolValue) String() string { return fmt.Sprintf("%v", *b) }
-
-func (b *boolValue) IsBoolFlag() bool { return true }
-
-func boolConv(sval string) (interface{}, error) {
-       return strconv.ParseBool(sval)
-}
-
-// GetBool return the bool value of a flag with the given name
-func (f *FlagSet) GetBool(name string) (bool, error) {
-       val, err := f.getFlagType(name, "bool", boolConv)
-       if err != nil {
-               return false, err
-       }
-       return val.(bool), nil
-}
-
-// BoolVar defines a bool flag with specified name, default value, and usage 
string.
-// The argument p points to a bool variable in which to store the value of the 
flag.
-func (f *FlagSet) BoolVar(p *bool, name string, value bool, usage string) {
-       f.BoolVarP(p, name, "", value, usage)
-}
-
-// BoolVarP is like BoolVar, but accepts a shorthand letter that can be used 
after a single dash.
-func (f *FlagSet) BoolVarP(p *bool, name, shorthand string, value bool, usage 
string) {
-       flag := f.VarPF(newBoolValue(value, p), name, shorthand, usage)
-       flag.NoOptDefVal = "true"
-}
-
-// BoolVar defines a bool flag with specified name, default value, and usage 
string.
-// The argument p points to a bool variable in which to store the value of the 
flag.
-func BoolVar(p *bool, name string, value bool, usage string) {
-       BoolVarP(p, name, "", value, usage)
-}
-
-// BoolVarP is like BoolVar, but accepts a shorthand letter that can be used 
after a single dash.
-func BoolVarP(p *bool, name, shorthand string, value bool, usage string) {
-       flag := CommandLine.VarPF(newBoolValue(value, p), name, shorthand, 
usage)
-       flag.NoOptDefVal = "true"
-}
-
-// Bool defines a bool flag with specified name, default value, and usage 
string.
-// The return value is the address of a bool variable that stores the value of 
the flag.
-func (f *FlagSet) Bool(name string, value bool, usage string) *bool {
-       return f.BoolP(name, "", value, usage)
-}
-
-// BoolP is like Bool, but accepts a shorthand letter that can be used after a 
single dash.
-func (f *FlagSet) BoolP(name, shorthand string, value bool, usage string) 
*bool {
-       p := new(bool)
-       f.BoolVarP(p, name, shorthand, value, usage)
-       return p
-}
-
-// Bool defines a bool flag with specified name, default value, and usage 
string.
-// The return value is the address of a bool variable that stores the value of 
the flag.
-func Bool(name string, value bool, usage string) *bool {
-       return BoolP(name, "", value, usage)
-}
-
-// BoolP is like Bool, but accepts a shorthand letter that can be used after a 
single dash.
-func BoolP(name, shorthand string, value bool, usage string) *bool {
-       b := CommandLine.BoolP(name, shorthand, value, usage)
-       return b
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/bool_test.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/bool_test.go 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/bool_test.go
deleted file mode 100644
index afd25ae..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/bool_test.go
+++ /dev/null
@@ -1,180 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package pflag
-
-import (
-       "bytes"
-       "fmt"
-       "strconv"
-       "testing"
-)
-
-// This value can be a boolean ("true", "false") or "maybe"
-type triStateValue int
-
-const (
-       triStateFalse triStateValue = 0
-       triStateTrue  triStateValue = 1
-       triStateMaybe triStateValue = 2
-)
-
-const strTriStateMaybe = "maybe"
-
-func (v *triStateValue) IsBoolFlag() bool {
-       return true
-}
-
-func (v *triStateValue) Get() interface{} {
-       return triStateValue(*v)
-}
-
-func (v *triStateValue) Set(s string) error {
-       if s == strTriStateMaybe {
-               *v = triStateMaybe
-               return nil
-       }
-       boolVal, err := strconv.ParseBool(s)
-       if boolVal {
-               *v = triStateTrue
-       } else {
-               *v = triStateFalse
-       }
-       return err
-}
-
-func (v *triStateValue) String() string {
-       if *v == triStateMaybe {
-               return strTriStateMaybe
-       }
-       return fmt.Sprintf("%v", bool(*v == triStateTrue))
-}
-
-// The type of the flag as required by the pflag.Value interface
-func (v *triStateValue) Type() string {
-       return "version"
-}
-
-func setUpFlagSet(tristate *triStateValue) *FlagSet {
-       f := NewFlagSet("test", ContinueOnError)
-       *tristate = triStateFalse
-       flag := f.VarPF(tristate, "tristate", "t", "tristate value (true, maybe 
or false)")
-       flag.NoOptDefVal = "true"
-       return f
-}
-
-func TestExplicitTrue(t *testing.T) {
-       var tristate triStateValue
-       f := setUpFlagSet(&tristate)
-       err := f.Parse([]string{"--tristate=true"})
-       if err != nil {
-               t.Fatal("expected no error; got", err)
-       }
-       if tristate != triStateTrue {
-               t.Fatal("expected", triStateTrue, "(triStateTrue) but got", 
tristate, "instead")
-       }
-}
-
-func TestImplicitTrue(t *testing.T) {
-       var tristate triStateValue
-       f := setUpFlagSet(&tristate)
-       err := f.Parse([]string{"--tristate"})
-       if err != nil {
-               t.Fatal("expected no error; got", err)
-       }
-       if tristate != triStateTrue {
-               t.Fatal("expected", triStateTrue, "(triStateTrue) but got", 
tristate, "instead")
-       }
-}
-
-func TestShortFlag(t *testing.T) {
-       var tristate triStateValue
-       f := setUpFlagSet(&tristate)
-       err := f.Parse([]string{"-t"})
-       if err != nil {
-               t.Fatal("expected no error; got", err)
-       }
-       if tristate != triStateTrue {
-               t.Fatal("expected", triStateTrue, "(triStateTrue) but got", 
tristate, "instead")
-       }
-}
-
-func TestShortFlagExtraArgument(t *testing.T) {
-       var tristate triStateValue
-       f := setUpFlagSet(&tristate)
-       // The"maybe"turns into an arg, since short boolean options will only 
do true/false
-       err := f.Parse([]string{"-t", "maybe"})
-       if err != nil {
-               t.Fatal("expected no error; got", err)
-       }
-       if tristate != triStateTrue {
-               t.Fatal("expected", triStateTrue, "(triStateTrue) but got", 
tristate, "instead")
-       }
-       args := f.Args()
-       if len(args) != 1 || args[0] != "maybe" {
-               t.Fatal("expected an extra 'maybe' argument to stick around")
-       }
-}
-
-func TestExplicitMaybe(t *testing.T) {
-       var tristate triStateValue
-       f := setUpFlagSet(&tristate)
-       err := f.Parse([]string{"--tristate=maybe"})
-       if err != nil {
-               t.Fatal("expected no error; got", err)
-       }
-       if tristate != triStateMaybe {
-               t.Fatal("expected", triStateMaybe, "(triStateMaybe) but got", 
tristate, "instead")
-       }
-}
-
-func TestExplicitFalse(t *testing.T) {
-       var tristate triStateValue
-       f := setUpFlagSet(&tristate)
-       err := f.Parse([]string{"--tristate=false"})
-       if err != nil {
-               t.Fatal("expected no error; got", err)
-       }
-       if tristate != triStateFalse {
-               t.Fatal("expected", triStateFalse, "(triStateFalse) but got", 
tristate, "instead")
-       }
-}
-
-func TestImplicitFalse(t *testing.T) {
-       var tristate triStateValue
-       f := setUpFlagSet(&tristate)
-       err := f.Parse([]string{})
-       if err != nil {
-               t.Fatal("expected no error; got", err)
-       }
-       if tristate != triStateFalse {
-               t.Fatal("expected", triStateFalse, "(triStateFalse) but got", 
tristate, "instead")
-       }
-}
-
-func TestInvalidValue(t *testing.T) {
-       var tristate triStateValue
-       f := setUpFlagSet(&tristate)
-       var buf bytes.Buffer
-       f.SetOutput(&buf)
-       err := f.Parse([]string{"--tristate=invalid"})
-       if err == nil {
-               t.Fatal("expected an error but did not get any, tristate has 
value", tristate)
-       }
-}
-
-func TestBoolP(t *testing.T) {
-       b := BoolP("bool", "b", false, "bool value in CommandLine")
-       c := BoolP("c", "c", false, "other bool value")
-       args := []string{"--bool"}
-       if err := CommandLine.Parse(args); err != nil {
-               t.Error("expected no error, got ", err)
-       }
-       if *b != true {
-               t.Errorf("expected b=true got b=%s", b)
-       }
-       if *c != false {
-               t.Errorf("expect c=false got c=%s", c)
-       }
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/count.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/count.go 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/count.go
deleted file mode 100644
index 7b1f142..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/count.go
+++ /dev/null
@@ -1,97 +0,0 @@
-package pflag
-
-import (
-       "fmt"
-       "strconv"
-)
-
-// -- count Value
-type countValue int
-
-func newCountValue(val int, p *int) *countValue {
-       *p = val
-       return (*countValue)(p)
-}
-
-func (i *countValue) Set(s string) error {
-       v, err := strconv.ParseInt(s, 0, 64)
-       // -1 means that no specific value was passed, so increment
-       if v == -1 {
-               *i = countValue(*i + 1)
-       } else {
-               *i = countValue(v)
-       }
-       return err
-}
-
-func (i *countValue) Type() string {
-       return "count"
-}
-
-func (i *countValue) String() string { return fmt.Sprintf("%v", *i) }
-
-func countConv(sval string) (interface{}, error) {
-       i, err := strconv.Atoi(sval)
-       if err != nil {
-               return nil, err
-       }
-       return i, nil
-}
-
-// GetCount return the int value of a flag with the given name
-func (f *FlagSet) GetCount(name string) (int, error) {
-       val, err := f.getFlagType(name, "count", countConv)
-       if err != nil {
-               return 0, err
-       }
-       return val.(int), nil
-}
-
-// CountVar defines a count flag with specified name, default value, and usage 
string.
-// The argument p points to an int variable in which to store the value of the 
flag.
-// A count flag will add 1 to its value evey time it is found on the command 
line
-func (f *FlagSet) CountVar(p *int, name string, usage string) {
-       f.CountVarP(p, name, "", usage)
-}
-
-// CountVarP is like CountVar only take a shorthand for the flag name.
-func (f *FlagSet) CountVarP(p *int, name, shorthand string, usage string) {
-       flag := f.VarPF(newCountValue(0, p), name, shorthand, usage)
-       flag.NoOptDefVal = "-1"
-}
-
-// CountVar like CountVar only the flag is placed on the CommandLine instead 
of a given flag set
-func CountVar(p *int, name string, usage string) {
-       CommandLine.CountVar(p, name, usage)
-}
-
-// CountVarP is like CountVar only take a shorthand for the flag name.
-func CountVarP(p *int, name, shorthand string, usage string) {
-       CommandLine.CountVarP(p, name, shorthand, usage)
-}
-
-// Count defines a count flag with specified name, default value, and usage 
string.
-// The return value is the address of an int variable that stores the value of 
the flag.
-// A count flag will add 1 to its value evey time it is found on the command 
line
-func (f *FlagSet) Count(name string, usage string) *int {
-       p := new(int)
-       f.CountVarP(p, name, "", usage)
-       return p
-}
-
-// CountP is like Count only takes a shorthand for the flag name.
-func (f *FlagSet) CountP(name, shorthand string, usage string) *int {
-       p := new(int)
-       f.CountVarP(p, name, shorthand, usage)
-       return p
-}
-
-// Count like Count only the flag is placed on the CommandLine isntead of a 
given flag set
-func Count(name string, usage string) *int {
-       return CommandLine.CountP(name, "", usage)
-}
-
-// CountP is like Count only takes a shorthand for the flag name.
-func CountP(name, shorthand string, usage string) *int {
-       return CommandLine.CountP(name, shorthand, usage)
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/count_test.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/count_test.go 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/count_test.go
deleted file mode 100644
index 716765c..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/count_test.go
+++ /dev/null
@@ -1,55 +0,0 @@
-package pflag
-
-import (
-       "fmt"
-       "os"
-       "testing"
-)
-
-var _ = fmt.Printf
-
-func setUpCount(c *int) *FlagSet {
-       f := NewFlagSet("test", ContinueOnError)
-       f.CountVarP(c, "verbose", "v", "a counter")
-       return f
-}
-
-func TestCount(t *testing.T) {
-       testCases := []struct {
-               input    []string
-               success  bool
-               expected int
-       }{
-               {[]string{"-vvv"}, true, 3},
-               {[]string{"-v", "-v", "-v"}, true, 3},
-               {[]string{"-v", "--verbose", "-v"}, true, 3},
-               {[]string{"-v=3", "-v"}, true, 4},
-               {[]string{"-v=a"}, false, 0},
-       }
-
-       devnull, _ := os.Open(os.DevNull)
-       os.Stderr = devnull
-       for i := range testCases {
-               var count int
-               f := setUpCount(&count)
-
-               tc := &testCases[i]
-
-               err := f.Parse(tc.input)
-               if err != nil && tc.success == true {
-                       t.Errorf("expected success, got %q", err)
-                       continue
-               } else if err == nil && tc.success == false {
-                       t.Errorf("expected failure, got success")
-                       continue
-               } else if tc.success {
-                       c, err := f.GetCount("verbose")
-                       if err != nil {
-                               t.Errorf("Got error trying to fetch the counter 
flag")
-                       }
-                       if c != tc.expected {
-                               t.Errorf("expected %q, got %q", tc.expected, c)
-                       }
-               }
-       }
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/duration.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/duration.go 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/duration.go
deleted file mode 100644
index e9debef..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/duration.go
+++ /dev/null
@@ -1,86 +0,0 @@
-package pflag
-
-import (
-       "time"
-)
-
-// -- time.Duration Value
-type durationValue time.Duration
-
-func newDurationValue(val time.Duration, p *time.Duration) *durationValue {
-       *p = val
-       return (*durationValue)(p)
-}
-
-func (d *durationValue) Set(s string) error {
-       v, err := time.ParseDuration(s)
-       *d = durationValue(v)
-       return err
-}
-
-func (d *durationValue) Type() string {
-       return "duration"
-}
-
-func (d *durationValue) String() string { return (*time.Duration)(d).String() }
-
-func durationConv(sval string) (interface{}, error) {
-       return time.ParseDuration(sval)
-}
-
-// GetDuration return the duration value of a flag with the given name
-func (f *FlagSet) GetDuration(name string) (time.Duration, error) {
-       val, err := f.getFlagType(name, "duration", durationConv)
-       if err != nil {
-               return 0, err
-       }
-       return val.(time.Duration), nil
-}
-
-// DurationVar defines a time.Duration flag with specified name, default 
value, and usage string.
-// The argument p points to a time.Duration variable in which to store the 
value of the flag.
-func (f *FlagSet) DurationVar(p *time.Duration, name string, value 
time.Duration, usage string) {
-       f.VarP(newDurationValue(value, p), name, "", usage)
-}
-
-// DurationVarP is like DurationVar, but accepts a shorthand letter that can 
be used after a single dash.
-func (f *FlagSet) DurationVarP(p *time.Duration, name, shorthand string, value 
time.Duration, usage string) {
-       f.VarP(newDurationValue(value, p), name, shorthand, usage)
-}
-
-// DurationVar defines a time.Duration flag with specified name, default 
value, and usage string.
-// The argument p points to a time.Duration variable in which to store the 
value of the flag.
-func DurationVar(p *time.Duration, name string, value time.Duration, usage 
string) {
-       CommandLine.VarP(newDurationValue(value, p), name, "", usage)
-}
-
-// DurationVarP is like DurationVar, but accepts a shorthand letter that can 
be used after a single dash.
-func DurationVarP(p *time.Duration, name, shorthand string, value 
time.Duration, usage string) {
-       CommandLine.VarP(newDurationValue(value, p), name, shorthand, usage)
-}
-
-// Duration defines a time.Duration flag with specified name, default value, 
and usage string.
-// The return value is the address of a time.Duration variable that stores the 
value of the flag.
-func (f *FlagSet) Duration(name string, value time.Duration, usage string) 
*time.Duration {
-       p := new(time.Duration)
-       f.DurationVarP(p, name, "", value, usage)
-       return p
-}
-
-// DurationP is like Duration, but accepts a shorthand letter that can be used 
after a single dash.
-func (f *FlagSet) DurationP(name, shorthand string, value time.Duration, usage 
string) *time.Duration {
-       p := new(time.Duration)
-       f.DurationVarP(p, name, shorthand, value, usage)
-       return p
-}
-
-// Duration defines a time.Duration flag with specified name, default value, 
and usage string.
-// The return value is the address of a time.Duration variable that stores the 
value of the flag.
-func Duration(name string, value time.Duration, usage string) *time.Duration {
-       return CommandLine.DurationP(name, "", value, usage)
-}
-
-// DurationP is like Duration, but accepts a shorthand letter that can be used 
after a single dash.
-func DurationP(name, shorthand string, value time.Duration, usage string) 
*time.Duration {
-       return CommandLine.DurationP(name, shorthand, value, usage)
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/example_test.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/example_test.go 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/example_test.go
deleted file mode 100644
index 9be7a49..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/example_test.go
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright 2012 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// These examples demonstrate more intricate uses of the flag package.
-package pflag_test
-
-import (
-       "errors"
-       "fmt"
-       "strings"
-       "time"
-
-       flag "github.com/spf13/pflag"
-)
-
-// Example 1: A single string flag called "species" with default value 
"gopher".
-var species = flag.String("species", "gopher", "the species we are studying")
-
-// Example 2: A flag with a shorthand letter.
-var gopherType = flag.StringP("gopher_type", "g", "pocket", "the variety of 
gopher")
-
-// Example 3: A user-defined flag type, a slice of durations.
-type interval []time.Duration
-
-// String is the method to format the flag's value, part of the flag.Value 
interface.
-// The String method's output will be used in diagnostics.
-func (i *interval) String() string {
-       return fmt.Sprint(*i)
-}
-
-func (i *interval) Type() string {
-       return "interval"
-}
-
-// Set is the method to set the flag value, part of the flag.Value interface.
-// Set's argument is a string to be parsed to set the flag.
-// It's a comma-separated list, so we split it.
-func (i *interval) Set(value string) error {
-       // If we wanted to allow the flag to be set multiple times,
-       // accumulating values, we would delete this if statement.
-       // That would permit usages such as
-       //      -deltaT 10s -deltaT 15s
-       // and other combinations.
-       if len(*i) > 0 {
-               return errors.New("interval flag already set")
-       }
-       for _, dt := range strings.Split(value, ",") {
-               duration, err := time.ParseDuration(dt)
-               if err != nil {
-                       return err
-               }
-               *i = append(*i, duration)
-       }
-       return nil
-}
-
-// Define a flag to accumulate durations. Because it has a special type,
-// we need to use the Var function and therefore create the flag during
-// init.
-
-var intervalFlag interval
-
-func init() {
-       // Tie the command-line flag to the intervalFlag variable and
-       // set a usage message.
-       flag.Var(&intervalFlag, "deltaT", "comma-separated list of intervals to 
use between events")
-}
-
-func Example() {
-       // All the interesting pieces are with the variables declared above, but
-       // to enable the flag package to see the flags defined there, one must
-       // execute, typically at the start of main (not init!):
-       //      flag.Parse()
-       // We don't run it here because this is not a main function and
-       // the testing suite has already parsed the flags.
-}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b002dd0c/newt/Godeps/_workspace/src/github.com/spf13/pflag/export_test.go
----------------------------------------------------------------------
diff --git a/newt/Godeps/_workspace/src/github.com/spf13/pflag/export_test.go 
b/newt/Godeps/_workspace/src/github.com/spf13/pflag/export_test.go
deleted file mode 100644
index 9318fee..0000000
--- a/newt/Godeps/_workspace/src/github.com/spf13/pflag/export_test.go
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2010 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package pflag
-
-import (
-       "io/ioutil"
-       "os"
-)
-
-// Additional routines compiled into the package only during testing.
-
-// ResetForTesting clears all flag state and sets the usage function as 
directed.
-// After calling ResetForTesting, parse errors in flag handling will not
-// exit the program.
-func ResetForTesting(usage func()) {
-       CommandLine = &FlagSet{
-               name:          os.Args[0],
-               errorHandling: ContinueOnError,
-               output:        ioutil.Discard,
-       }
-       Usage = usage
-}
-
-// GetCommandLine returns the default FlagSet.
-func GetCommandLine() *FlagSet {
-       return CommandLine
-}

Reply via email to