frontend: example: csv-import helper update
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -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!())
|
||||
|
||||
Reference in New Issue
Block a user