mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-12-22 03:33:48 +01:00
Remove doc warnings for now and fix others
This commit is contained in:
parent
4e10a981b2
commit
f4d793621c
@ -4,11 +4,6 @@ use std::collections::HashMap;
|
||||
|
||||
use serde::{Serialize, Deserialize};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
mod dhall;
|
||||
pub use dhall::read_config_file as read;
|
||||
|
||||
|
@ -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
|
||||
//!
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user