diff --git a/xCAT-client/bin/psh b/xCAT-client/bin/psh index 23ed4a08f..4ce61652f 100755 --- a/xCAT-client/bin/psh +++ b/xCAT-client/bin/psh @@ -30,7 +30,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 ] [-l ] [-f ] \n"; + print "Usage: psh [-i ] [-l ] [-f ] [--nonodecheck] \n"; exit; } my %nodehdl; diff --git a/xCAT-client/pods/man1/psh.1.pod b/xCAT-client/pods/man1/psh.1.pod index 100f34e7c..a2a48c313 100644 --- a/xCAT-client/pods/man1/psh.1.pod +++ b/xCAT-client/pods/man1/psh.1.pod @@ -43,6 +43,12 @@ rently executing remote shell processes. Log into the nodes as the specified username. The default is to use the same username as you are running the psh command as. +=item B<-n|--nonodecheck> + +Do not send the noderange to xcatd to expand it into a list of nodes. Instead, use the noderange exactly as it is specified. +In this case, the noderange must be a simple list of comma-separated hostnames of the nodes. +This allows you to run B even when xcatd is not running. + =item B See L.