From 8b59f559989061ba83be215861f9f67cf17bd3b4 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 15 Nov 2019 15:12:04 -0500 Subject: [PATCH 1/3] Remove erroneous = from man page --- xCAT-client/pods/man8/copycds.8.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-client/pods/man8/copycds.8.pod b/xCAT-client/pods/man8/copycds.8.pod index ac254ac46..167ce4ae7 100644 --- a/xCAT-client/pods/man8/copycds.8.pod +++ b/xCAT-client/pods/man8/copycds.8.pod @@ -4,7 +4,7 @@ B - Copies Linux distributions and service levels from DVDs/ISOs to the =head1 SYNOPSIS -B [{B<-n|--name|--osver>}=I] [{B<-a|--arch>}=I] [{B<-p|--path>}=I] [B<-o>|B<--noosimage>] [B<-w>|B<--nonoverwrite>] {I} ... +B [{B<-n|--name|--osver>} I] [{B<-a|--arch>} I] [{B<-p|--path>} I] [B<-o>|B<--noosimage>] [B<-w>|B<--nonoverwrite>] {I} ... B [B<-i>|B<--inspection>] {I} @@ -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 +=item B<-n|--name|--osver> I 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 +=item B<-a|--arch> I The architecture of the linux distro on the ISO/DVD. Examples: x86, x86_64, ppc64, s390x. -=item B<-p|--path>=I +=item B<-p|--path> I 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 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. From 720bbec97745487f14c392aa9b23bba950ac5077 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 29 Apr 2021 14:34:45 -0400 Subject: [PATCH 2/3] Generated rst file --- .../guides/admin-guides/references/man8/copycds.8.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/guides/admin-guides/references/man8/copycds.8.rst b/docs/source/guides/admin-guides/references/man8/copycds.8.rst index 37c399113..5e4af8f43 100644 --- a/docs/source/guides/admin-guides/references/man8/copycds.8.rst +++ b/docs/source/guides/admin-guides/references/man8/copycds.8.rst @@ -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. From 53d6ae93903b6f160ec41d5b07d42f780f1f6207 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 29 Apr 2021 14:41:33 -0400 Subject: [PATCH 3/3] Remove = from usage also --- xCAT-server/lib/xcat/plugins/copycds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/copycds.pm b/xCAT-server/lib/xcat/plugins/copycds.pm index 9fb75072b..3f6bf14ad 100644 --- a/xCAT-server/lib/xcat/plugins/copycds.pm +++ b/xCAT-server/lib/xcat/plugins/copycds.pm @@ -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/) {