From 0da871f5287addb555138c65cad93183411d8d84 Mon Sep 17 00:00:00 2001 From: solanav Date: Tue, 8 Nov 2022 23:19:43 +0100 Subject: [PATCH] Fix #884 (#916) * Fixed #884 * Remove yggdrasil and yggdrasilctl * Fixed #884 Co-authored-by: asolana Co-authored-by: solanav Co-authored-by: Neil Alexander --- cmd/yggdrasil/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/yggdrasil/main.go b/cmd/yggdrasil/main.go index 2d1da6b9..f85525d6 100644 --- a/cmd/yggdrasil/main.go +++ b/cmd/yggdrasil/main.go @@ -247,7 +247,12 @@ func run(args yggArgs, ctx context.Context) { return default: // No flags were provided, therefore print the list of flags to stdout. + fmt.Println("Usage:") flag.PrintDefaults() + + if args.getaddr || args.getsnet { + fmt.Println("\nError: You need to specify some config data using -useconf or -useconffile.") + } } // Have we got a working configuration? If we don't then it probably means // that neither -autoconf, -useconf or -useconffile were set above. Stop