From 60ff86015d98afbc72620695e81715e9a33baa30 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 22 Nov 2007 06:12:48 +0000 Subject: Collect the help file into one variable and then pipe through more() --- usr/local/sbin/pfSsh.php | 85 ++++++++++++++++++++++++++---------------------- 1 file changed, 46 insertions(+), 39 deletions(-) (limited to 'usr/local/sbin') diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php index 40cc12d..9780438 100755 --- a/usr/local/sbin/pfSsh.php +++ b/usr/local/sbin/pfSsh.php @@ -73,61 +73,68 @@ function more($text, $count=24) { } function show_help() { - echo "\nExample commands:\n"; + +$show_help_text = <<