Permalink
Browse files

Synchronize example in README.md

  • Loading branch information...
1 parent b3e8124 commit 8187e102bbdcf24cd8b411d21bcb447c5ee47967 Jesse van den Kieboom committed Sep 3, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
@@ -51,6 +51,12 @@ Example:
os.Exit(1)
}
+ fmt.Printf("Verbosity: %d\n", len(opts.Verbose))
+ fmt.Printf("Offset: %d\n", opts.Offset)
fmt.Printf("Remaining args: %s\n", strings.Join(args, " "))
+ // Output: Verbosity: 0
+ // Offset: 0
+ // Remaining args:
+
More information can be found in the godocs: <http://go.pkgdoc.org/github.com/jessevdk/go-flags>

0 comments on commit 8187e10

Please sign in to comment.