- if args.get(1) == Some(&"--print-config-docs".to_string()) {
- let fmt = Formatting {
- auto_comments: AutoComments::none(),
- comments_style: CommentsStyle {
- separator: "#".to_owned(),
- },
- objects_style: ObjectsStyle {
- surround_keys_with_quotes: false,
- use_comma_as_separator: false,
- },
- ..Default::default()
- };
- println!("{}", doku::to_json_fmt_val(&fmt, &Settings::default()));
- return Ok(());
- }