2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00

Merge pull request #6957 from gurevichmark/copycds_doc

Remove erroneous = from man page
This commit is contained in:
besawn 2021-04-30 13:59:43 -04:00 committed by GitHub
commit f7db977e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@ SYNOPSIS
********
\ **copycds**\ [{\ **-n|-**\ **-name|-**\ **-osver**\ }=\ *distroname*\ ] [{\ **-a|-**\ **-arch**\ }=\ *architecture*\ ] [{\ **-p|-**\ **-path**\ }=\ *ospkgpath*\ ] [\ **-o | -**\ **-noosimage**\ ] [\ **-w | -**\ **-nonoverwrite**\ ] {\ *iso | device-path*\ } ...
\ **copycds**\ [{\ **-n|-**\ **-name|-**\ **-osver**\ } \ *distroname*\ ] [{\ **-a|-**\ **-arch**\ } \ *architecture*\ ] [{\ **-p|-**\ **-path**\ } \ *ospkgpath*\ ] [\ **-o | -**\ **-noosimage**\ ] [\ **-w | -**\ **-nonoverwrite**\ ] {\ *iso | device-path*\ } ...
\ **copycds**\ [\ **-i | -**\ **-inspection**\ ] {\ *iso | device-path*\ }
@ -44,19 +44,19 @@ OPTIONS
\ **-n|-**\ **-name|-**\ **-osver**\ =\ *distroname*\
\ **-n|-**\ **-name|-**\ **-osver**\ \ *distroname*\
The linux distro name and version that the ISO/DVD contains. Examples: rhels6.3, sles11.2, fedora9. Note the 's' in rhels6.3 which denotes the Server version of RHEL, which is typically used.
\ **-a|-**\ **-arch**\ =\ *architecture*\
\ **-a|-**\ **-arch**\ \ *architecture*\
The architecture of the linux distro on the ISO/DVD. Examples: x86, x86_64, ppc64, s390x.
\ **-p|-**\ **-path**\ =\ *ospkgpath*\
\ **-p|-**\ **-path**\ \ *ospkgpath*\
The destination directory to which the contents of ISO/DVD will be copied. When this option is not specified, the default destination directory will be formed from the \ **installdir**\ site table attribute and the distro name and architecture, for example: /install/rhel6.3/x86_64. This option is only supported for distributions of sles, redhat and windows.

View File

@ -4,7 +4,7 @@ B<copycds> - Copies Linux distributions and service levels from DVDs/ISOs to the
=head1 SYNOPSIS
B<copycds> [{B<-n|--name|--osver>}=I<distroname>] [{B<-a|--arch>}=I<architecture>] [{B<-p|--path>}=I<ospkgpath>] [B<-o>|B<--noosimage>] [B<-w>|B<--nonoverwrite>] {I<iso | device-path>} ...
B<copycds> [{B<-n|--name|--osver>} I<distroname>] [{B<-a|--arch>} I<architecture>] [{B<-p|--path>} I<ospkgpath>] [B<-o>|B<--noosimage>] [B<-w>|B<--nonoverwrite>] {I<iso | device-path>} ...
B<copycds> [B<-i>|B<--inspection>] {I<iso | device-path>}
@ -22,15 +22,15 @@ You can get xCAT to recognize new DVDs/ISOs by adding them to /opt/xcat/lib/perl
=over 6
=item B<-n|--name|--osver>=I<distroname>
=item B<-n|--name|--osver> I<distroname>
The linux distro name and version that the ISO/DVD contains. Examples: rhels6.3, sles11.2, fedora9. Note the 's' in rhels6.3 which denotes the Server version of RHEL, which is typically used.
=item B<-a|--arch>=I<architecture>
=item B<-a|--arch> I<architecture>
The architecture of the linux distro on the ISO/DVD. Examples: x86, x86_64, ppc64, s390x.
=item B<-p|--path>=I<ospkgpath>
=item B<-p|--path> I<ospkgpath>
The destination directory to which the contents of ISO/DVD will be copied. When this option is not specified, the default destination directory will be formed from the B<installdir> site table attribute and the distro name and architecture, for example: /install/rhel6.3/x86_64. This option is only supported for distributions of sles, redhat and windows.

View File

@ -65,7 +65,7 @@ sub process_request {
'w|nonoverwrite' => \$nonoverwrite,
);
if ($help) {
$callback->({ info => "copycds [{-p|--path}=path] [{-n|--name|--osver}=distroname] [{-a|--arch}=architecture] [-i|--inspection] [{-o|--noosimage}] [{-w|--nonoverwrite}] 1st.iso [2nd.iso ...]." });
$callback->({ info => "copycds [{-p|--path} path] [{-n|--name|--osver} distroname] [{-a|--arch} architecture] [-i|--inspection] [{-o|--noosimage}] [{-w|--nonoverwrite}] 1st.iso [2nd.iso ...]." });
return;
}
if ($arch and $arch =~ /i.86/) {