From 94633e30496232eaf8ddf377cbe247345eb1327a Mon Sep 17 00:00:00 2001
From: Stephen C Phillips <steve@scphillips.com>
Date: Wed, 20 Jun 2018 17:17:32 +0100
Subject: [PATCH] Describes defaults in usage text

---
 scripts/test/fixture.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/scripts/test/fixture.sh b/scripts/test/fixture.sh
index 2c53069..45c7a00 100755
--- a/scripts/test/fixture.sh
+++ b/scripts/test/fixture.sh
@@ -1,7 +1,13 @@
 #!/bin/bash
 
+repo_root="/vagrant"
+config_file="rspec.json"
+
 usage() {
     echo "Usage: $0 create|start|stop|destroy [-f config_file] [-r repo_root] [-c container_name|all]" 1>&2
+    echo "    -f defaults to '${config_file}'" 1>&2
+    echo "    -r defaults to '${repo_root}'" 1>&2
+    echo "    -c must be specified, use 'all' for all" 1>&2
     exit 1
 }
 
@@ -154,9 +160,6 @@ if [ $# -gt 1 ]; then
     OPTIND=$((OPTIND+1))
 fi
 
-repo_root="/vagrant"
-config_file="rspec.json"
-
 # collect the optional arguments
 while getopts "hf:r:c:" opt; do
   case $opt in
-- 
GitLab