Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vahe Danielyan committed Jan 6, 2024
1 parent 1320294 commit 5dd11b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diffdir"
version = "0.4.2"
version = "0.4.3"
edition = "2021"
authors = ["Vahe Danielyan <[email protected]>"]
license = "MIT"
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ If you don't have rust installed, go ahead and [Install Rust](https://www.rust-l

Clone this repository

```
```sh
git clone [email protected]:VaheDanielyan/diffdir.git
```

Build and install

```
```sh
cargo install --path .
```

## Usage

```
```sh
NAME
diffdir - A cli tool to compare two directories
SYNOPSIS
Expand All @@ -41,8 +41,6 @@ OPTIONS
Print version
<DIR_A>
<DIR_B>
VERSION
v0.4.2
AUTHORS
Vahe Danielyan <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/README.md"))]

pub mod diffcmp;
pub mod args;
pub mod diffcmp;
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extern crate diffdir;
use core::panic;
use atty::Stream;

use diffdir::diffcmp::{CmpResult, DirCmp};
use diffdir::diffcmp::{DirCmp, CmpResult};
use diffdir::args::Args;

use clap::Parser;
Expand Down

0 comments on commit 5dd11b1

Please sign in to comment.