Skip to content

Commit 2998319

Browse files
Add note about limitations
1 parent db1ddc9 commit 2998319

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tree-sitter-stack-graphs/src/cli/visualize.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ use std::path::PathBuf;
1616

1717
/// Visualize database
1818
#[derive(Args)]
19+
#[clap(after_help = r#"LIMITATIONS:
20+
Visualizations will only work for very small stack graphs. This command is
21+
useful for debugging minimal examples, but running it on any real-world code
22+
will most likely result in HTML files that will not load in any browser.
23+
"#)]
1924
pub struct VisualizeArgs {
2025
/// Source file or directory paths.
2126
#[clap(

0 commit comments

Comments
 (0)