From 8de4178a7d027e120f557afce57240d4bfb7b723 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 17 Oct 2016 17:50:17 -0600 Subject: [PATCH] add example --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b26bf42..5cf1ddb 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,12 @@ Serving /Users/foo/ at https://localhost.daplie.com:8443 Usage ----- +Examples: + +``` +node serve.js --servername jane.daplie.me --agree-tos --email jane@example.com --tunnel +``` + * `-p ` - i.e. `sudo serve-https -p 443` (defaults to 80+443 or 8443) * `-d ` - i.e. `serve-https -d /tmp/` (defaults to `pwd`) * `-c ` - i.e. `server-https -c 'Hello, World! '` (defaults to directory index)