Remove doc warnings for now and fix others

This commit is contained in:
Nadja Reitzenstein 2022-04-27 17:30:04 +02:00
parent 4e10a981b2
commit f4d793621c
3 changed files with 7 additions and 10 deletions

View File

@ -4,11 +4,6 @@ use std::collections::HashMap;
use serde::{Serialize, Deserialize};
mod dhall;
pub use dhall::read_config_file as read;

View File

@ -1,7 +1,7 @@
#![warn(unused_imports, unused_import_braces)]
#![warn(missing_debug_implementations)]
#![warn(missing_docs)]
#![warn(missing_crate_level_docs)]
//#![warn(missing_debug_implementations)]
//#![warn(missing_docs)]
//#![warn(missing_crate_level_docs)]
//! Diflouroborane
//!

View File

@ -8,8 +8,6 @@ use std::{env, io, io::Write, path::PathBuf};
use nix::NixPath;
use diflouroborane::error::Error;
fn main() -> anyhow::Result<()> {
// Argument parsing
@ -44,6 +42,10 @@ fn main() -> anyhow::Result<()> {
.takes_value(true)
.ignore_case(true)
.possible_values(["Full", "Compact", "Pretty"]))
.arg(Arg::new("log level")
.help("Set the desired log levels.")
.long("log-level")
.takes_value(true))
.arg(
Arg::new("print default")
.help("Print a default config to stdout instead of running")