From 50e580df942db49fa820ab8bee8ff52640bd409b Mon Sep 17 00:00:00 2001
From: jgugliel <julien.guglielmini@pasteur.fr>
Date: Mon, 28 Mar 2022 10:57:44 +0200
Subject: [PATCH] Added example to README

---
 README.md | 5 +++++
 wGRR      | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 774c49c..435c644 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,11 @@ chmod +x wGRR*
 ```
 
 ## Usage
+### Example
+```bash
+./wGRR -i example/test_0.prt -o TEST0
+```
+
 ### On a local machine
 ```bash
 ./wGRR -i $fasta [-p $mmseqs2_path -o $output_prefix -t $threads -a $comparisons -T -f]
diff --git a/wGRR b/wGRR
index 01e5f68..0a9efd7 100755
--- a/wGRR
+++ b/wGRR
@@ -16,7 +16,7 @@ ALL_ARGS=($@)
 
 display_usage() {
 	echo "wGRR version ${VERSION}"
-	echo "${bold}USAGE:${normal} $ZSH_ARGZERO -f <fasta_file> [OPTIONS]"
+	echo "${bold}USAGE:${normal} $ZSH_ARGZERO -i <fasta_file> [OPTIONS]"
 	echo ""
 	echo "${bold}MANDATORY PARAMETERS:${normal}"
 	echo "   -i <string>       fasta file with all proteins of all the compared genetic elements."
-- 
GitLab