Skip to content

Commit cb73814

Browse files
committed
fix: 🐛 confirm option help text and README
1 parent 421618b commit cb73814

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Options:
3232
-i, --in-place make changes to files in place
3333
-k, --key TEXT Your encryption key.If you don‘t specify key, pyencrypt will
3434
generate encryption key randomly.
35-
-y, --yes yes
35+
--yes Automatically answer yes for confirm questions.
3636
-h, --help Show this message and exit.
3737
```
3838
### Decrypt
@@ -57,6 +57,10 @@ Options:
5757
```shell
5858
~$ pyencrypt decrypt -k xxx test.pye
5959
```
60+
### Generate
61+
```shell
62+
~$ pyencrypt generate -k xxx
63+
```
6064

6165
### Entry File
6266
```python

pyencrypt/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def cli():
7979
type=click.STRING)
8080
@click.confirmation_option(
8181
prompt='Are you sure you want to encrypt your python file?',
82-
help='Confirm the action without prompting')
82+
help='Automatically answer yes for confirm questions.')
8383
@click.help_option('-h', '--help')
8484
@click.pass_context
8585
def encrypt_command(ctx, pathname, delete, key):

0 commit comments

Comments
 (0)