Skip to content

Commit

Permalink
u3d/install -o documentation improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
lacostej committed Jan 15, 2018
1 parent 33d2dea commit 2c644ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/u3d/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def list_available(options: {})
def install(args: [], options: {})
version = specified_or_current_project_version(args[0])

UI.user_error!("install can only work with current operating system. You specified #{options[:operating_system]}") if options[:install] && options[:operating_system]
UI.user_error!("You cannot use the --operating_system and the --install options together") if options[:install] && options[:operating_system]
os = valid_os_or_current(options[:operating_system])

packages = packages_with_unity_first(os, options)
Expand Down
2 changes: 1 addition & 1 deletion lib/u3d/commands_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def run
c.option '--[no-]download', 'Perform or not downloading before installation. Downloads by default'
c.option '--[no-]install', 'Perform or not installation after downloading. Installs by default'
c.option '-p', '--packages PACKAGES', Array, 'Specifies which packages to download/install. Overriden by --all'
c.option '-o', '--operating_system STRING', String, "Checks for availability on specific OS [#{oses.join(', ')}]"
c.option '-o', '--operating_system STRING', String, "Downloads packages for specific OS [#{oses.join(', ')}]. Requires the --no-install option."
c.option '-a', '--all', 'Download all available packages. Overrides -p'
c.option '-i', '--installation_path PATH', String, 'Specifies where package(s) will be downloaded/installed. Conflicts with --no-install'
c.option '-k', '--keychain', 'Gain privileges right through the keychain. [OSX only]'
Expand Down

0 comments on commit 2c644ba

Please sign in to comment.