Skip to content

Commit ea4fc7b

Browse files
committed
Separator: remove formatArgs
It makes no sense.
1 parent 468d1e0 commit ea4fc7b

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

doc/json_schema.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,6 @@
306306
"description": "Output format of the module `PublicIp`. See Wiki for formatting syntax\n 1. {ip}: Public IP address\n 2. {location}: Location",
307307
"type": "string"
308308
},
309-
"separatorFormat": {
310-
"description": "Output format of the module `Separator`. See Wiki for formatting syntax\n 1. {string}: Separator string\n 2. {outputColor}: Output color\n 3. {length}: Length",
311-
"type": "string"
312-
},
313309
"shellFormat": {
314310
"description": "Output format of the module `Shell`. See Wiki for formatting syntax\n 1. {process-name}: Shell process name\n 2. {exe}: The first argument of the command line when running the shell\n 3. {exe-name}: Shell base name of arg0\n 4. {version}: Shell version\n 5. {pid}: Shell pid\n 6. {pretty-name}: Shell pretty name\n 7. {exe-path}: Shell full exe path\n 8. {tty}: Shell tty used",
315311
"type": "string"

src/modules/separator/separator.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,6 @@ static FFModuleBaseInfo ffModuleInfo = {
188188
.parseJsonObject = (void*) ffParseSeparatorJsonObject,
189189
.printModule = (void*) ffPrintSeparator,
190190
.generateJsonConfig = (void*) ffGenerateSeparatorJsonConfig,
191-
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
192-
{"Separator string", "string"},
193-
{"Output color", "outputColor"},
194-
{"Length", "length"},
195-
}))
196191
};
197192

198193
void ffInitSeparatorOptions(FFSeparatorOptions* options)

0 commit comments

Comments
 (0)