aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-06-08 14:44:53 -0600
committerBen Burdette <bburdette@gmail.com>2021-06-08 14:44:53 -0600
commita8df23975293a9c0b4d7a55b46d0047f955e0f1c (patch)
treea5fb29239d5460ab88d1e6b96ba4b5fcaca3176f /src/libcmd/repl.cc
parentff2e72054f741f51c07e737d82c8eff920342488 (diff)
highlight the extra vars
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r--src/libcmd/repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index b1f250e73..29be71e13 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -785,7 +785,7 @@ void runRepl(
repl->addVarToScope(repl->state->symbols.create(name), value);
}
- printError("The following extra variables are in scope: %s\n", concatStringsSep(", ", names));
+ printError(hintfmt("The following extra variables are in scope: %s\n", concatStringsSep(", ", names)).str());
repl->mainLoop({});
}