display hyperlinks
This commit is contained in:
parent
ae5ce58eec
commit
f3bc16b3c5
6 changed files with 93 additions and 7 deletions
|
|
@ -49,6 +49,11 @@ struct Args {
|
|||
#[arg(long = "logs-dir")]
|
||||
logs_dir: PathBuf,
|
||||
|
||||
/// Path where the compiler source code lives, for links in the TUI to work.
|
||||
#[arg(global = true)]
|
||||
#[arg(long = "compiler-root")]
|
||||
compiler_root: Option<PathBuf>,
|
||||
|
||||
#[arg(trailing_var_arg = true)]
|
||||
#[arg(allow_hyphen_values = true)]
|
||||
#[arg(global = true)]
|
||||
|
|
@ -60,11 +65,12 @@ fn main() {
|
|||
preset,
|
||||
logs_dir,
|
||||
rest,
|
||||
compiler_root,
|
||||
} = Args::parse();
|
||||
|
||||
let rustc_log = match preset {
|
||||
Preset::Show => {
|
||||
tui::run(logs_dir);
|
||||
tui::run(logs_dir, compiler_root);
|
||||
exit(0);
|
||||
}
|
||||
Preset::Types => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue