Skip to content

Commit

Permalink
Fix: install command and add --version
Browse files Browse the repository at this point in the history
  • Loading branch information
erfjab committed Sep 10, 2024
1 parent 7151163 commit 9dd636f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ESSL is a script to quickly obtain SSL certificates for your domains. It support

1. **Download and Install the Script:**
```bash
sudo bash -c "$(curl -sL https://raw.githubusercontent.com/erfjab/ESSL/master/essl.sh) --install"
sudo bash -c "$(curl -sL https://raw.githubusercontent.com/erfjab/ESSL/master/essl.sh)" --install
```

2. **Run the Script:**
Expand Down
6 changes: 5 additions & 1 deletion essl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ Commands:
--install Install the ESSL script.
--upgrade Upgrade the ESSL script to the latest version.
--help Show this help message.
--version Show script version
Examples:
essl [email protected] example.com /etc/ssl/certs
Expand Down Expand Up @@ -178,7 +179,10 @@ main() {
show_help
exit 0
;;
esac
--version|-v)
print "v3.0.1"
exit 0
;;esac

# Check if user provided enough arguments for SSL installation
if [ $# -lt 3 ]; then
Expand Down

0 comments on commit 9dd636f

Please sign in to comment.