aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/help.rs
blob: 730eb5c615ed8d13ff89af340e9b92a213b60c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! FIXME: write short doc here

pub const GLOBAL_HELP: &str = "tasks

USAGE:
    ra_tools <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information

SUBCOMMANDS:
    format
    format-hook
    fuzz-tests
    codegen
    install
    lint";

pub const INSTALL_HELP: &str = "ra_tools-install

USAGE:
    ra_tools.exe install [FLAGS]

FLAGS:
        --client-code
    -h, --help           Prints help information
        --jemalloc
        --server";

pub fn print_no_param_subcommand_help(subcommand: &str) {
    eprintln!(
        "ra_tools-{}

USAGE:
    ra_tools {}

FLAGS:
    -h, --help       Prints help information",
        subcommand, subcommand
    );
}

pub const INSTALL_RA_CONFLICT: &str =
    "error: The argument `--server` cannot be used with `--client-code`

For more information try --help";