From 5c42040e34b5c61115b61e704a1fd99e7f3ac7d9 Mon Sep 17 00:00:00 2001 From: filifa Date: Mon, 29 Sep 2025 22:50:44 -0400 Subject: [PATCH] add help --- cmd/primeOmega.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cmd/primeOmega.go b/cmd/primeOmega.go index 839d130..9c7456c 100644 --- a/cmd/primeOmega.go +++ b/cmd/primeOmega.go @@ -45,9 +45,11 @@ func primeOmega(cmd *cobra.Command, args []string) { // primeOmegaCmd represents the primeOmega command var primeOmegaCmd = &cobra.Command{ Use: "prime-omega -n N", - Short: "", - Long: ``, - Run: primeOmega, + Short: "Compute the prime omega function for all numbers less than n", + Long: `Compute the prime omega function for all numbers less than n. + +The prime omega functions Omega(n) and omega(n) count the number of prime factors of the input, either with or without multiplicity, respectively. For instance, 12 = 2^2 * 3, so Omega(12) = 3 and omega(12) = 2.`, + Run: primeOmega, } func init() {