From ce37a808f177b5ccca6e606d8feb4a5a5d902d33 Mon Sep 17 00:00:00 2001 From: Renato Silva Date: Wed, 23 Jul 2014 22:31:27 -0300 Subject: [PATCH] Fix exit command in a Bash example. --- easyoptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easyoptions.rb b/easyoptions.rb index 9a60734..17e0dd9 100644 --- a/easyoptions.rb +++ b/easyoptions.rb @@ -2,7 +2,7 @@ # Encoding: ISO-8859-1 ## -## EasyOptions 2014.7.9 +## EasyOptions 2014.7.23 ## Copyright (c) 2013, 2014 Renato Silva ## GNU GPLv2 licensed ## @@ -59,7 +59,7 @@ ## the options into Ruby variables, evaluable export statements will be ## generated for corresponding Bash environment variables. For example: ## -## eval "$(from="$0" @script.name "$@")" || exit 1 +## eval "$(from="$0" @script.name "$@" || echo exit 1)" ## ## If the script containing this command is documented as in the example above, ## and it is executed from command line with the -o and --some-value=10 options,