From 1313aa7c3252f4ade9bc37b4f121d4305c8e8aa5 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Fri, 18 Jan 2008 15:04:12 +0000 Subject: [PATCH] Fixed a small typo in usage and made it an error to specify --keep with --reconnect-after --- stand | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stand b/stand index dfeaa67..83f732a 100755 --- a/stand +++ b/stand @@ -114,7 +114,7 @@ Usage: #{$program_name} [OPTION]... -f , --configuration-file= Specify the configuration file to use. (default: #{$configuration_file_pretty}) - -r, --reconnect-after= + -r , --reconnect-after= Reconnect to the server if seconds has elapsed since the last connection. EOF @@ -161,7 +161,10 @@ rescue end -$reconnect_after = nil if $keep +if $keep and $reconnect_after + puts "There should be no reason to specify --reconnect-after with --keep" + exit +end # ---------------------------------------------------------------------- -- 2.11.4.GIT