From 338e831a8474c442b2c5e75eefed7b602276faa8 Mon Sep 17 00:00:00 2001 From: Dylan Allbee Date: Thu, 23 Jan 2020 21:08:18 -0800 Subject: Print global options in help for subcommands fixes #101 --- example_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example_test.go') diff --git a/example_test.go b/example_test.go index be3cd12..4e6372f 100644 --- a/example_test.go +++ b/example_test.go @@ -235,7 +235,8 @@ func Example_helpTextForSubcommand() { // Positional arguments: // ITEM item to fetch // - // Options: + // Global options: + // --verbose // --help, -h display this help and exit } -- cgit v1.2.3