add more help text
This commit is contained in:
@@ -119,10 +119,14 @@ func discreteLog(cmd *cobra.Command, args []string) {
|
||||
|
||||
// discreteLogCmd represents the discreteLog command
|
||||
var discreteLogCmd = &cobra.Command{
|
||||
Use: "discrete-log",
|
||||
Use: "discrete-log -b N -m N -e N",
|
||||
Short: "Compute the discrete logarithm",
|
||||
Long: `Compute the discrete logarithm.`,
|
||||
Run: discreteLog,
|
||||
Long: `Compute the discrete logarithm.
|
||||
|
||||
Given a base b, modulus m, and element e, compute a value k such that b^k = e (mod m).
|
||||
|
||||
Note that no efficient method of finding the discrete logarithm is currently known. For slightly improved performance, the order of the group (i.e. the totient of m) can be provided.`,
|
||||
Run: discreteLog,
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user