dropdown type

This commit is contained in:
Alexander Strizhakov 2020-02-05 19:05:20 +03:00
parent c85aa6e87f
commit bdf0a87be9
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -871,7 +871,7 @@ config :pleroma, :config_description, [
},
%{
key: :limit_to_local_content,
type: [:atom, false],
type: {:dropdown, :atom},
description:
"Limit unauthenticated users to search for local statutes and users only. Default: `:unauthenticated`.",
suggestions: [
@ -942,7 +942,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
type: :atom,
type: {:dropdown, :atom},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@ -974,7 +974,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
type: :atom,
type: {:dropdown, :atom},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@ -998,7 +998,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
type: :atom,
type: {:dropdown, :atom},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@ -1969,7 +1969,7 @@ config :pleroma, :config_description, [
},
%{
key: :verbose,
type: [:atom, false],
type: {:dropdown, :atom},
description: "Logs verbose mode",
suggestions: [false, :error, :warn, :info, :debug]
},