aboutsummaryrefslogtreecommitdiff
path: root/src
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
parentff2e72054f741f51c07e737d82c8eff920342488 (diff)
highlight the extra vars
Diffstat (limited to 'src')
-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({});
}