diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-03-11 06:45:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 06:45:05 -0500 |
commit | f2b8b4e8427996407b484c4a4ed9432519c9d3a5 (patch) | |
tree | 02dc3866ce71afeab52fe268459d9af5531779e3 /src | |
parent | 8087f0b636b94ff5763a3a5637dea9a343784bd7 (diff) |
other: add manpage file to cargo deb config, move back to build script (#693)
Adds the asset for the manpage to cargo deb config. Also moves the generated manpage file to a .1.gz file. Also, moves back to a build script since that was causing some issues for the automatic Cargo.toml fields detection for manpage and completion generation.
To prevent compilation from happening every time, and only in CI, we use an env var to avoid generation steps.
Diffstat (limited to 'src')
-rw-r--r-- | src/clap.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clap.rs b/src/clap.rs index 282b79b2..d3c169d9 100644 --- a/src/clap.rs +++ b/src/clap.rs @@ -225,6 +225,7 @@ pub fn build_app() -> Command<'static> { If it doesn't exist, one is created.", ); + // TODO: Fix this, its broken in the manpage let color = Arg::new("color") .long("color") .takes_value(true) @@ -274,6 +275,7 @@ Defaults to \"default\". .help("Default time value for graphs in ms.") .long_help("Default time value for graphs in milliseconds. The minimum time is 30s (30000), and the default is 60s (60000)."); + // TODO: Fix this, its broken in the manpage let default_widget_count = Arg::new("default_widget_count") .long("default_widget_count") .takes_value(true) |