mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
bin/ircd: update clap version
This commit is contained in:
@@ -21,7 +21,7 @@ easy-parallel = "3.2.0"
|
||||
rand = "0.8.4"
|
||||
|
||||
# Misc
|
||||
clap = "3.0.7"
|
||||
clap = "3.1.6"
|
||||
log = "0.4.14"
|
||||
simplelog = "0.11.2"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use clap::{App, Arg, ArgMatches};
|
||||
use clap::{Arg, ArgMatches, Command};
|
||||
use std::net::SocketAddr;
|
||||
|
||||
use darkfi::{net, Result};
|
||||
@@ -13,7 +13,7 @@ pub struct ProgramOptions {
|
||||
|
||||
impl ProgramOptions {
|
||||
pub fn load() -> Result<ProgramOptions> {
|
||||
let app = App::new("dfi")
|
||||
let app = Command::new("dfi")
|
||||
.version("0.1.0")
|
||||
.author("Amir Taaki <amir@dyne.org>")
|
||||
.about("Dark node")
|
||||
|
||||
Reference in New Issue
Block a user