frontend: example: csv-import helper update

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-06-26 23:25:34 +02:00
parent f435f214d9
commit c2b38e7772
2 changed files with 6 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ use viperus::Viperus;
/// processed default, environment and commandline arguments
pub fn parse_args(v: &mut Viperus) -> Result<(), Box<dyn std::error::Error>> {
//use log::{debug, info, trace, warn};
use log::trace;
use tracing::{trace, Level};
use std::env;
if cfg!(feature = "fmt-clap") {
@@ -23,7 +23,7 @@ pub fn parse_args(v: &mut Viperus) -> Result<(), Box<dyn std::error::Error>> {
use clap::{crate_authors, crate_description, crate_name, crate_version, App, Arg};
// CLI arguments are defined inline
let matches = App::new("nctalkproxyd")
let matches = App::new("csv-import")
.name(crate_name!())
.version(crate_version!())
.author(crate_authors!())