bin/playersdk in videojuicer-player-sdk-0.4.0 vs bin/playersdk in videojuicer-player-sdk-0.4.1

- old
+ new

@@ -5,11 +5,11 @@ help = <<HELP Videojuicer Player 3.0 SDK Basic Command Line Usage: playersdk - playersdk <path to workspace directory> + playersdk <path to configuration file> Configuration is read from '<workspace directory>/_config.yml' but can be overriden using the following options: HELP @@ -21,18 +21,14 @@ options = { } opts = OptionParser.new do |opts| opts.banner = help - opts.on("--build-dir [DIR]", "Location of the build targets") do |location| - options['build_dir'] = location unless location.nil? + opts.on("--config [PATH]", "Location of the YAML task list to use") do |location| + options['config_path'] = location unless location.nil? end - opts.on("--workspace-dir [DIR]", "Location of the workspace directory") do |location| - options['workspace_dir'] = location unless location.nil? - end - - opts.on("--verbose", "Use verbose ouput mode") do + opts.on("--verbose", "Use verbose output mode") do options['verbose'] = true end opts.on("--version", "Display current version") do puts "Videojuicer Player SDK " + PlayerSDK.version \ No newline at end of file