summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ae75474)
raw | patch | inline | side by side (parent: ae75474)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 13 May 2008 14:50:49 +0000 (16:50 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 13 May 2008 14:50:49 +0000 (16:50 +0200) |
contrib/cussh.pl | patch | blob | history |
diff --git a/contrib/cussh.pl b/contrib/cussh.pl
index 6da2856d0d8b307387788da48aff2da58cf6353d..48f5e9373e12dba530c0ff1a6a2292effd5ded39 100755 (executable)
--- a/contrib/cussh.pl
+++ b/contrib/cussh.pl
elsif ($option eq "timeout") {
$args{"timeout"} = $value;
}
+ elsif ($option eq "identifier") {
+ my $id = getid (\$value);
+ if (!$id)
+ {
+ print STDERR "Not a valid identifier: \"$value\"\n";
+ next;
+ }
+ push @{$args{"identifier"}}, $id;
+ }
else {
print STDERR "Invalid option \"$option\".\n";
return;