mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-23 18:02:24 +00:00
Add in another option for testing
This commit is contained in:
parent
305a6f3535
commit
da8dc00d47
1 changed files with 7 additions and 5 deletions
12
bin/cssh
12
bin/cssh
|
@ -11,14 +11,16 @@ my $app = App::ClusterSSH->new();
|
|||
|
||||
$app->options->add_common_ssh_options;
|
||||
|
||||
# only works in ssh and rsh, not telnet or console
|
||||
$app->add_option(
|
||||
spec => 'freddo|z',
|
||||
help => "--freddo\n\tSome help output",
|
||||
spec => 'action|a=s',
|
||||
help => $app->loc("Run the command in each session, e.g. C<-a 'vi /etc/hosts'> to drop straight into a vi session."),
|
||||
);
|
||||
|
||||
use Data::Dump qw(dump);
|
||||
warn dump $app;
|
||||
die;
|
||||
$app->add_option(
|
||||
spec => 'freddo|z',
|
||||
help => $app->loc("Some help output"),
|
||||
);
|
||||
|
||||
$app->run();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue