From 37118daaf9da138caee46dc0375e179bc58889e2 Mon Sep 17 00:00:00 2001 From: Bruce Potter Date: Sat, 17 Aug 2013 10:52:52 -0400 Subject: [PATCH] add --nonodecheck to the psh usage and man page --- xCAT-client/bin/psh | 2 +- xCAT-client/pods/man1/psh.1.pod | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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.