summaryrefslogtreecommitdiffstats
path: root/sq
diff options
context:
space:
mode:
Diffstat (limited to 'sq')
-rw-r--r--sq/src/sq.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/sq/src/sq.rs b/sq/src/sq.rs
index eef1e6dc..3a97bee0 100644
--- a/sq/src/sq.rs
+++ b/sq/src/sq.rs
@@ -237,6 +237,11 @@ pub struct Config {
}
fn main() -> Result<()> {
+ if term_size::dimensions_stdout().is_none() {
+ eprintln!("\nWARNING: sq does not have a stable CLI interface. \
+ Use with caution in scripts.\n");
+ }
+
let policy = &mut P::new();
let matches = sq_cli::build().get_matches();