Skip to content

Commit

Permalink
* Fixed a bug where subcommands will not show up in manpage
Browse files Browse the repository at this point in the history
* Updated Readme to include that man page and bash autocomplete will be available on releases
* Incremented version to v1.1.1
  • Loading branch information
CKingX committed May 13, 2022
1 parent 15cea30 commit d3e89f7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ddr-mount"
license = "AGPL-3.0-only"
version = "1.1.0"
version = "1.1.1"
edition = "2021"
authors = ["CKingX"]
description = "ddr-mount allows you to mount image files while passing bad sectors"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ ddr-mount list
```

## Install
ddr-mount .deb file is available at [Releases](https://github.com/CKingX/ddrescue_error_mapping/releases) page for Ubuntu binaries (x64 architecture only). There is also a generic Linux executable file for x64 systems that should run on most Linux distributions, provided `dmsetup` and `losetup` are installed. If you have rustup installed (see Build Guide), you can install by running
ddr-mount .deb file is available at [Releases](https://github.com/CKingX/ddrescue_error_mapping/releases) page for Ubuntu binaries (x64 architecture only). There is also a generic Linux executable file that should run on most Linux distributions, provided `dmsetup` and `losetup` are installed. If you have rustup installed (see Build Guide), you can install by running
```
cargo install ddr-mount
```

Unless you build it yourself and move the bash autocomplete and manpage file manually (see Build Guide), or use the deb file, bash autocompletion and man files are not installed automatically.
Unless you build it yourself and move the bash autocomplete and manpage file manually (see Build Guide), or use the deb file, bash autocompletion and man files are not installed. However, you can either generate the man files and bash complete by following the Build Guide, or manually install them by downloading them from releases and following the steps from Build Guide on installing them.

## Upgrade instructions
If previous version was installed using the deb package, first uninstall the older version
Expand Down
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ fn main() -> Result<(), std::io::Error> {
};

let mut cmd = _handle_command();
#[allow(deprecated)]
cmd._build_all();
generate_to(Bash, &mut cmd, "ddr-mount", outdir.clone())?;
let man = Man::new(cmd);
let mut buffer: Vec<u8> = Default::default();
Expand Down
2 changes: 1 addition & 1 deletion package/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: ddr-mount
Version: 1.1.0
Version: 1.1.1
Architecture: amd64
Depends: mount (>= 2.31), dmsetup (>= 2:1.02)
Recommends: bash
Expand Down

0 comments on commit d3e89f7

Please sign in to comment.