aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/help.rs
blob: 4c6bf6b53c9c3172870a007e2d61d48d2bf9247b (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
47
//! 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
    gen-tests
    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";