Skip to content

Commit 1cdb3fc

Browse files
committed
fix pubkey flag desc
1 parent 315e5d4 commit 1cdb3fc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ relay add --file license.lic --key xxx --public-key xxx
7676

7777
The `add` command supports the following flags:
7878

79-
| Flag | Description |
80-
|:---------------------|:-------------------------------------------------|
81-
| `--file` | Path to the license file to be added. |
82-
| `--key` | License key for decryption. |
83-
| `--public-key` | Path to the public key for license verification. |
79+
| Flag | Description |
80+
|:---------------------|:--------------------------------------------------|
81+
| `--file` | Path to the license file to be added. |
82+
| `--key` | License key for decryption. |
83+
| `--public-key` | Your account public key for license verification. |
8484

8585
#### Delete license
8686

internal/cmd/add.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func AddCmd(manager licenses.Manager) *cobra.Command {
3333

3434
cmd.Flags().StringVar(&filePath, "file", "", "license file")
3535
cmd.Flags().StringVar(&key, "key", "", "license key")
36-
cmd.Flags().StringVar(&publicKey, "public-key", "", "public key for cryptographically verified")
36+
cmd.Flags().StringVar(&publicKey, "public-key", "", "your keygen.sh public key for verification")
3737

3838
_ = cmd.MarkFlagRequired("file")
3939
_ = cmd.MarkFlagRequired("key")

0 commit comments

Comments
 (0)