From 94c656ad40a7aae570e5a5fb61ad32632acc6d46 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 23 Aug 2024 13:11:09 +0200 Subject: feat(treewide): Use a configuration file This allows use to avoid duplication of default values in the codebase and obviously also facilitates changing these without having to re-compile. --- src/select/selection_file/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/select/selection_file') diff --git a/src/select/selection_file/display.rs b/src/select/selection_file/display.rs index 12d128c..0a0ce96 100644 --- a/src/select/selection_file/display.rs +++ b/src/select/selection_file/display.rs @@ -32,7 +32,7 @@ impl Video { let opts = get_video_opts(app, &self.extractor_hash) .await? - .to_cli_flags(); + .to_cli_flags(&app); let opts_white = if !opts.is_empty() { " " } else { "" }; let publish_date = if let Some(date) = self.publish_date { -- cgit 1.4.1