From d81b71f2423b7fbfe38bc5ed27583c7d56cfe243 Mon Sep 17 00:00:00 2001 From: Jakukyo Friel Date: Thu, 22 Sep 2016 20:20:26 +0800 Subject: [PATCH] Doc: CLI: mention `--spy` only works in REPL mode. (#1097) --- docs/language/cli.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/language/cli.rst b/docs/language/cli.rst index 28bd067..ae9b620 100644 --- a/docs/language/cli.rst +++ b/docs/language/cli.rst @@ -35,7 +35,7 @@ Command Line Options .. cmdoption:: --spy - Print equivalent Python code before executing. For example:: + Print equivalent Python code before executing in REPL. For example:: => (defn salutationsnm [name] (print (+ "Hy " name "!"))) def salutationsnm(name): @@ -45,6 +45,7 @@ Command Line Options Hy YourName! => + `--spy` only works on REPL mode. .. versionadded:: 0.9.11 .. cmdoption:: --show-tracebacks