Browse Source

Formatting

bryan 3 years ago
parent
commit
559a9eebae
2 changed files with 6 additions and 7 deletions
  1. 3 4
      README.md
  2. 3 3
      installJRMC

+ 3 - 4
README.md

@@ -22,12 +22,11 @@ You can always find the latest supported options by running `installJRMC --help`
     repo: Install MC from repository, future updates will be handled by the system package manager
     rpm: Build and install MC locally (RPM-based OSes only)
     deb: Download and install official MC package locally (useful with --compat flag for older distros)
---build
+--build=[opensuse|fedora|centos]
     Build RPM from source DEB but do not install
---target opensuse|fedora|centos
-    Crossbuild RPM for target distro
+    Specify cross-build target with optional argument, note '=' (ex. --build=opensuse)
 --compat
-    Build/install RPM without minimum library specifiers
+    Build/install MC without minimum library specifiers
 --mcversion VERSION
     Build or install a specific MC version, ex. "28.0.25"
 --outputdir PATH

+ 3 - 3
installJRMC

@@ -40,7 +40,9 @@ printHelp() {
 		            deb: Download and install offcial MC package locally (useful with --compat flag for older distros)
 		    --build=[opensuse|fedora|centos]
 		        Build RPM from source DEB but do not install
-		        Specify non-native target with optional parameter (ex. 'opensuse', 'fedora', 'centos')
+		        Specify cross-build target with optional argument, note '=' (ex. --build=opensuse)
+		    --compat
+		        Build/install MC without minimum library specifiers
 		    --mcversion VERSION
 		        Specify the MC version, ex. "28.0.94" (Default: latest)
 		    --outputdir PATH
@@ -61,8 +63,6 @@ printHelp() {
 		            Specify the webroot directory to install the repo (Default: /var/www/jriver)
 		        --createrepo-user USER
 		            Specify the web server user if it differs from $USER
-		    --compat
-		        Build/install RPM without minimum library specifiers
 		    --version, -v
 		        Print this script version and exit
 		    --debug, -d