From 88da164e776531416c72a2bb4afdbee41dc12038 Mon Sep 17 00:00:00 2001 From: Aquila Macedo Date: Sun, 7 Jun 2026 16:03:56 -0300 Subject: [PATCH] Use consistent option names in rdeps warning Use the documented single-dash spelling for -direct-rdeps and -rdeps-depth in the warning message. --- ratt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratt.go b/ratt.go index c9efced..cddb624 100644 --- a/ratt.go +++ b/ratt.go @@ -316,7 +316,7 @@ func reverseBuildDeps(packagesPaths, sourcesPaths []string, binaries []string) ( "-G", "pkg") if *directRdeps && *rdepsDepth != 0 && *rdepsDepth != 2 { - log.Printf("Warning: --direct-rdeps is ignored because --rdeps-depth=%d is also set", *rdepsDepth) + log.Printf("Warning: -direct-rdeps is ignored because -rdeps-depth=%d is also set", *rdepsDepth) } if *directRdeps && *rdepsDepth == 0 { *rdepsDepth = 2