aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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