aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-07-27 14:18:19 +0200
committerMartin Fischer <martin@push-f.com>2022-07-27 14:25:02 +0200
commit67ec7cc93838b9522d7cfe711043201caa9e2a8c (patch)
treef4f81c7503a3fcfadb2557ad160d669ddaf2fa91 /src
parentae8eade8ec0497c5ce23f5a35caba997fd2045f1 (diff)
update clap dependency
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 3383371..1f3f890 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,7 +1,7 @@
use camino::Utf8Component;
use camino::Utf8Path;
use camino::Utf8PathBuf;
-use clap::Clap;
+use clap::Parser as ClapParser;
use controller::Controller;
use git2::Commit;
use git2::ObjectType;
@@ -70,7 +70,7 @@ impl From<HyperResponse> for Response {
pub(crate) type HyperResponse = hyper::Response<hyper::Body>;
pub(crate) type Request = hyper::Request<hyper::Body>;
-#[derive(Clap, Debug)]
+#[derive(ClapParser, Debug)]
#[clap(name = "gitpad")]
struct Args {
/// Enable mutliuser mode (requires a reverse-proxy that handles