From 5e5d3929717a65797c120831b6bc920fd2f75244 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 27 Jan 2024 21:08:37 +0100 Subject: [PATCH] rename some options --- src/kds_s2000w_net.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/kds_s2000w_net.c b/src/kds_s2000w_net.c index c96fabd..e9f07a7 100644 --- a/src/kds_s2000w_net.c +++ b/src/kds_s2000w_net.c @@ -216,9 +216,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.string_list = constraint_colormode; break; case 4: - option_descriptors[option].name = "skipblankpages"; - option_descriptors[option].title = "skipblankpages"; - option_descriptors[option].desc = "skipblankpages"; + option_descriptors[option].name = "skip-blank-pages"; + option_descriptors[option].title = "Blank Image Deletion Mode"; + option_descriptors[option].desc = "Blank Image Deletion Mode"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_NONE; option_descriptors[option].constraint.string_list = NULL; @@ -328,7 +328,7 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.range = constraint_color_balance_green; break; case 14: - option_descriptors[option].name = "colorbalanceblue"; + option_descriptors[option].name = "color-balance-blue"; option_descriptors[option].title = "colorbalanceblue"; option_descriptors[option].desc = "colorbalanceblue"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; @@ -339,9 +339,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.range = constraint_color_balance_blue; break; case 15: - option_descriptors[option].name = "foregroundboldnessmode"; - option_descriptors[option].title = "foregroundboldnessmode"; - option_descriptors[option].desc = "foregroundboldnessmode"; + option_descriptors[option].name = "foreground-boldness-mode"; + option_descriptors[option].title = "Foreground Boldness Mode"; + option_descriptors[option].desc = "Foreground Boldness Mode"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_STRING_LIST; constraint_foreground_boldness_mode[0] = "None"; @@ -351,9 +351,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.string_list = constraint_foreground_boldness_mode; break; case 16: - option_descriptors[option].name = "foregroundboldnessaggressiveness"; - option_descriptors[option].title = "foregroundboldnessaggressiveness"; - option_descriptors[option].desc = "foregroundboldnessaggressiveness"; + option_descriptors[option].name = "foreground-boldness-aggressiveness"; + option_descriptors[option].title = "Foreground Boldness Mode"; + option_descriptors[option].desc = "Foreground Boldness Mode"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE; constraint_foreground_boldness_aggressiveness->min = -10; @@ -362,9 +362,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.range = constraint_foreground_boldness_aggressiveness; break; case 17: - option_descriptors[option].name = "backgroundsmoothingmode"; - option_descriptors[option].title = "backgroundsmoothingmode"; - option_descriptors[option].desc = "backgroundsmoothingmode"; + option_descriptors[option].name = "background-smoothing-mode"; + option_descriptors[option].title = "Background Smoothing Mode"; + option_descriptors[option].desc = "Background Smoothing Mode"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_STRING_LIST; constraint_background_smoothing_mode[0] = "None"; @@ -374,9 +374,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.string_list = constraint_background_smoothing_mode; break; case 18: - option_descriptors[option].name = "backgroundsmoothingaggressiveness"; - option_descriptors[option].title = "backgroundsmoothingaggressiveness"; - option_descriptors[option].desc = "backgroundsmoothingaggressiveness"; + option_descriptors[option].name = "background-smoothing-aggressiveness"; + option_descriptors[option].title = "Background Smoothing Aggressivenes"; + option_descriptors[option].desc = "Background Smoothing Aggressivenes"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE; constraint_background_smoothing_aggressivness->min = -10; @@ -385,7 +385,7 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.range = constraint_background_smoothing_aggressivness; break; case 19: - option_descriptors[option].name = "binarizationmode"; + option_descriptors[option].name = "binarization-mode"; option_descriptors[option].title = "binarizationmode"; option_descriptors[option].desc = "binarizationmode"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT; -- 2.39.5