Skip to content

Commit 82f22d8

Browse files
committed
Customize clap and description
1 parent 0ad09ad commit 82f22d8

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ version = "0.4.0"
44
authors = ["Josh Choo <dev@joshuous.com>"]
55
edition = "2018"
66
description = """
7-
aosp-missing-blobs is a nifty tool to identify required blobs (.so) that are missing from AOSP ROM builds,
8-
and to show which existing blobs rely on them. This will be particularly useful for ROM developers who want
9-
to ensure that they have not missed out any required proprietary OEM blobs.
7+
A tool to identify required blobs (.so) that are missing from AOSP ROM builds, and to show which existing blobs depend on them.
108
"""
119
license = "MIT"
1210
homepage = "https://github.com/joshuous/aosp-missing-blobs"

src/main.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
use aosp_missing_blobs::{run, Config};
2-
use clap::{App, Arg};
2+
use clap::{crate_description, crate_name, crate_version, App, Arg};
33

44
fn main() {
5-
let matches = App::new("aosp-missing-blobs")
6-
.version("0.4.0")
7-
.author("Josh Choo <dev@joshuous.com>")
8-
.about("An AOSP tool to generate a list of required missing blobs.")
5+
let matches = App::new(crate_name!())
6+
.version(crate_version!())
7+
.about(crate_description!())
98
.arg(
109
Arg::with_name("PATHS")
1110
.help("Paths to blobs")

0 commit comments

Comments
 (0)