From 5695b3b95176155f58f88a821ae78d67637fddd0 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Mon, 8 Jun 2015 03:11:58 -0700 Subject: [PATCH] Finish removing outdent_labels option --- src/dfmt/config.d | 1 - src/dfmt/main.d | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/dfmt/config.d b/src/dfmt/config.d index 6127be5..f83f656 100644 --- a/src/dfmt/config.d +++ b/src/dfmt/config.d @@ -59,7 +59,6 @@ struct Config dfmt_align_switch_statements = OptionalBoolean.t; dfmt_brace_style = BraceStyle.allman; dfmt_outdent_attributes = OptionalBoolean.t; - dfmt_outdent_labels = OptionalBoolean.t; dfmt_soft_max_line_length = 80; dfmt_space_after_cast = OptionalBoolean.t; dfmt_space_after_keywords = OptionalBoolean.t; diff --git a/src/dfmt/main.d b/src/dfmt/main.d index 7433698..923f99c 100644 --- a/src/dfmt/main.d +++ b/src/dfmt/main.d @@ -39,9 +39,6 @@ else case "outdent_attributes": optConfig.dfmt_outdent_attributes = optVal; break; - case "outdent_labels": - optConfig.dfmt_outdent_labels = optVal; - break; case "space_after_cast": optConfig.dfmt_space_after_cast = optVal; break; @@ -71,7 +68,6 @@ else "max_line_length", &optConfig.max_line_length, "soft_max_line_length", &optConfig.dfmt_soft_max_line_length, "outdent_attributes", &handleBooleans, - "outdent_labels", &handleBooleans, "space_after_cast", &handleBooleans, "selective_import_space", &handleBooleans, "split_operator_at_line_end", &handleBooleans, @@ -170,7 +166,6 @@ Formatting Options: --soft_max_line_length --max_line_length --outdent_attributes - --outdent_labels --space_after_cast --selective_import_space --split_operator_at_line_end