Skip to content

Commit

Permalink
Removed default value of deleteSubtitles and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponyboy47 committed Jun 29, 2017
1 parent 9483a34 commit 99a418b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/monitr/Monitr.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ enum MonitrError: Error {
/// Checks the downloads directory for new content to add to Plex
final class Monitr: DirectoryMonitorDelegate {
/// The current version of monitr
static var version: String = "0.5.0"
static var version: String = "0.5.1"

/// The configuration to use for the monitor
private var config: Config
Expand Down
2 changes: 1 addition & 1 deletion Sources/monitr/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let convertVideoSubtitleScanFlag = try Flag("n", alternateNames: ["convert-video
let convertLanguageOption = try Option<Language>("l", alternateNames: ["convert-language"], description: "The main language to select when converting media with multiple languages available", parser: &argParser)
let convertVideoMaxFramerateOption = try Option<Double>("m", alternateNames: ["convert-video-max-framerate"], description: "The maximum framerate limit to use when converting video files", parser: &argParser)
let convertTempDirectoryOption = try Option<Path>("u", alternateNames: ["convert-temp-dir"], description: "The directory where converted media will go prior to being moved to plex", parser: &argParser)
let deleteSubtitlesFlag = try Flag("q", alternateNames: ["delete-subtitles"], default: false, description: "Whether or not external subtitle files should be deleted upon import with Monitr", parser: &argParser)
let deleteSubtitlesFlag = try Flag("q", alternateNames: ["delete-subtitles"], description: "Whether or not external subtitle files should be deleted upon import with Monitr", parser: &argParser)
let saveFlag = try Flag("s", alternateNames: ["save-settings"], default: false, description: "Whether or not the configured settings should be saved to the config options file", required: true, parser: &argParser)
let logLevelOption = try Option<Int>("d", alternateNames: ["log-level"], description: "The logging level to use. Higher numbers mean more logging. Valid number range is 0-4.", parser: &argParser)
let logFileOption = try Option<Path>("l", alternateNames: ["log-file"], description: "Where to write the log file.", parser: &argParser)
Expand Down

0 comments on commit 99a418b

Please sign in to comment.