mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	add timeout option on usage
This commit is contained in:
		@@ -31,7 +31,7 @@ if (!GetOptions(
 | 
			
		||||
  "nonodecheck" => \$::NONODECHECK,  #does not check the noderange, in this case, noderange need to be a list of nodes.
 | 
			
		||||
  'h|help' => \$help,
 | 
			
		||||
  ) || $help || scalar(@ARGV)<2 ) {
 | 
			
		||||
  print "Usage: psh [-i <interface>] [-l <user>] [-f <fanout>] [--nonodecheck] <noderange> <command>\n";
 | 
			
		||||
  print "Usage: psh [-i <interface>] [-l <user>] [-f <fanout>] [--nonodecheck] [-t <timeout value in seconds>] <noderange> <command>\n";
 | 
			
		||||
  exit;
 | 
			
		||||
}
 | 
			
		||||
my %nodehdl;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user