mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-22 09:22:24 +00:00
Turn into its own script rather than a symlink
This commit is contained in:
parent
bdfd32c12d
commit
31d831bb0c
1 changed files with 22 additions and 1 deletions
|
@ -1 +0,0 @@
|
|||
cssh
|
22
bin_PL/ccon
Executable file
22
bin_PL/ccon
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/perl
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use FindBin;
|
||||
use lib $FindBin::Bin. '/../lib';
|
||||
use lib $FindBin::Bin. '/../lib/perl5';
|
||||
use App::ClusterSSH;
|
||||
|
||||
my $app = App::ClusterSSH->new();
|
||||
|
||||
#$app->options->add_common_ssh_options;
|
||||
#$app->options->add_common_session_options;
|
||||
|
||||
$app->add_option(
|
||||
spec => 'master|M=s',
|
||||
help => $app->loc("The console client program polls master as the primary server, rather than the default set at compile time (typically ``console'')."),
|
||||
);
|
||||
|
||||
$app->run();
|
||||
|
||||
1;
|
Loading…
Add table
Reference in a new issue