mirror of https://github.com/jimsalterjrs/sanoid
commit
47390cfbbb
|
|
@ -1,3 +1,6 @@
|
|||
1.4.7a (syncoid only) added standard invocation output when called without source or target
|
||||
as per @rriley and @fajarnugraha suggestions
|
||||
|
||||
1.4.7 reverted Perl shebangs to #!/usr/bin/perl - sorry FreeBSD folks, shebanged to /usr/bin/env perl bare calls to syncoid
|
||||
or sanoid (without explicit calls to Perl) don't work on EITHER of our systems. I'm not OK with that, this is going to be
|
||||
an OS localization issue that can either be addressed with BSD-specific packaging, or you can individually address it
|
||||
|
|
|
|||
7
syncoid
7
syncoid
|
|
@ -4,7 +4,7 @@
|
|||
# from http://www.gnu.org/licenses/gpl-3.0.html on 2014-11-17. A copy should also be available in this
|
||||
# project's Git repository at https://github.com/jimsalterjrs/sanoid/blob/master/LICENSE.
|
||||
|
||||
my $version = '1.4.7';
|
||||
my $version = '1.4.7a';
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
@ -19,6 +19,11 @@ if ($args{'version'}) {
|
|||
exit 0;
|
||||
}
|
||||
|
||||
if (!(defined $args{'source'} && defined $args{'target'})) {
|
||||
print 'usage: syncoid [src_user@src_host:]src_pool/src_dataset [dst_user@dst_host:]dst_pool/dst_dataset'."\n";
|
||||
exit 127;
|
||||
}
|
||||
|
||||
my $rawsourcefs = $args{'source'};
|
||||
my $rawtargetfs = $args{'target'};
|
||||
my $debug = $args{'debug'};
|
||||
|
|
|
|||
Loading…
Reference in New Issue