mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-10 17:43:23 +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};
|
use serde::{Serialize, Deserialize};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mod dhall;
|
mod dhall;
|
||||||
pub use dhall::read_config_file as read;
|
pub use dhall::read_config_file as read;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#![warn(unused_imports, unused_import_braces)]
|
#![warn(unused_imports, unused_import_braces)]
|
||||||
#![warn(missing_debug_implementations)]
|
//#![warn(missing_debug_implementations)]
|
||||||
#![warn(missing_docs)]
|
//#![warn(missing_docs)]
|
||||||
#![warn(missing_crate_level_docs)]
|
//#![warn(missing_crate_level_docs)]
|
||||||
|
|
||||||
//! Diflouroborane
|
//! Diflouroborane
|
||||||
//!
|
//!
|
||||||
|
@ -8,8 +8,6 @@ use std::{env, io, io::Write, path::PathBuf};
|
|||||||
|
|
||||||
|
|
||||||
use nix::NixPath;
|
use nix::NixPath;
|
||||||
use diflouroborane::error::Error;
|
|
||||||
|
|
||||||
|
|
||||||
fn main() -> anyhow::Result<()> {
|
fn main() -> anyhow::Result<()> {
|
||||||
// Argument parsing
|
// Argument parsing
|
||||||
@ -44,6 +42,10 @@ fn main() -> anyhow::Result<()> {
|
|||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.ignore_case(true)
|
.ignore_case(true)
|
||||||
.possible_values(["Full", "Compact", "Pretty"]))
|
.possible_values(["Full", "Compact", "Pretty"]))
|
||||||
|
.arg(Arg::new("log level")
|
||||||
|
.help("Set the desired log levels.")
|
||||||
|
.long("log-level")
|
||||||
|
.takes_value(true))
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("print default")
|
Arg::new("print default")
|
||||||
.help("Print a default config to stdout instead of running")
|
.help("Print a default config to stdout instead of running")
|
||||||
|
Loading…
Reference in New Issue
Block a user