diff --git a/perl-xCAT/xCAT/Usage.pm b/perl-xCAT/xCAT/Usage.pm index d30b9edd2..2ef132eb3 100755 --- a/perl-xCAT/xCAT/Usage.pm +++ b/perl-xCAT/xCAT/Usage.pm @@ -289,7 +289,7 @@ my %usage = ( [-u] [--range IPranges][-t tries][--vpdtable][-C counts][-T timeout]", "switchdiscover" => "Usage: switchdiscover [-h|--help|-v|--version] - switchdiscover [|--range ipranges] [-s scan_methods] [-r|-x|-z][-n] [-w] [-V|--verbose]", + switchdiscover [|--range ipranges] [-s scan_methods] [-r|-x|-z] [-w] [-V|--verbose]", "rflash" => "Usage: rflash [ -h|--help|-v|--version] diff --git a/xCAT-client/pods/man1/switchdiscover.1.pod b/xCAT-client/pods/man1/switchdiscover.1.pod index af17fd3e1..301b049f4 100755 --- a/xCAT-client/pods/man1/switchdiscover.1.pod +++ b/xCAT-client/pods/man1/switchdiscover.1.pod @@ -11,7 +11,7 @@ I I -I +I @@ -32,8 +32,6 @@ B The switches which the user want to discover. B<-h> Display usage message. -B<-n> Only display and write the newly discovered switches. - B<--range> Specify one or more IP ranges. It accepts multiple formats. For example, 192.168.1.1/24, 40-41.1-2.3-4.1-100. If the range is huge, for example, 192.168.1.1/8, switchdiscover may take a very long @@ -42,7 +40,7 @@ B<--range> Specify one or more IP ranges. B<-r> Display Raw response. B<-s> It is a comma separated list of methods for switch discovery. - The possible switch scan methods are: llpd, nmap and snmp. The default is lldpd. + The possible switch scan methods are: lldpd, nmap and snmp. The default is lldpd. B<-v> Command Version.