From 94125141b6f34c37b32a099fb1f790d3a9359194 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 2 Jun 2016 22:16:45 +0100 Subject: [PATCH] Move usage example above file output --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b1a48dc..ecf3df3 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,12 @@ npm install --global htconvert ## Usage +```shell +$ cat .htaccess | htconvert > nginxRedirects.conf +# or +$ htconvert -f .htaccess > nginxRedirects.conf +``` + `.htaccess` ```apacheconf @@ -21,12 +27,6 @@ Redirect 302 /new-feature/ https://website.com/coming-soon/ Redirect 301 /admin/ https://website.com/?login=true ``` -```shell -$ cat .htaccess | htconvert > nginxRedirects.conf -# or -$ htconvert -f .htaccess > nginxRedirects.conf -``` - `nginxRedirects.conf` ```