From 7d54b8ba78d9825be4e0fa9d01c27d9657bf98aa Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 9 Mar 2018 11:29:33 +0100 Subject: [PATCH] fixup HEREDOC usage --- pve-zsync | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/pve-zsync b/pve-zsync index e35f17c..65b3e98 100644 --- a/pve-zsync +++ b/pve-zsync @@ -1024,7 +1024,8 @@ sub send_image { die "\n"; } - my $help_sync = << EOF$PROGNAME sync -dest -source [OPTIONS]\n + my $help_sync = < -source [OPTIONS]\n will sync one time @@ -1054,7 +1055,8 @@ sub send_image { print out the sync progress. EOF - my $help_create = << EOF$PROGNAME create -dest -source [OPTIONS] + my $help_create = < -source [OPTIONS] Create a sync Job @@ -1083,7 +1085,8 @@ EOF the source can be an or [IP:][/Path] EOF - my $help_destroy = << EOF$PROGNAME destroy -source [OPTIONS] + my $help_destroy = < [OPTIONS] remove a sync Job from the scheduler @@ -1096,7 +1099,8 @@ EOF the source can be an or [IP:][/Path] EOF - my $help_help = << EOF$PROGNAME help [OPTIONS] + my $help_help = < [OPTIONS] Get help about specified command. @@ -1109,17 +1113,20 @@ EOF Verbose output format. EOF - my $help_list = << EOF$PROGNAME list + my $help_list = < [OPTIONS] + my $help_enable = < [OPTIONS] enable a syncjob and reset error @@ -1132,7 +1139,8 @@ EOF the source can be an or [IP:][/Path] EOF - my $help_disable = << EOF$PROGNAME disable -source [OPTIONS] + my $help_disable = < [OPTIONS] pause a sync job