From 095e04cb0d4831af73e49cf25f3e3cbe9dacfd1f Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 11 Apr 2017 22:11:45 -0700 Subject: [PATCH] remove mention of `__fish_sgrep` This is a trivial change to address issue #2450 by eliminating a inconsequential reference to `__fish_sgrep` in the core C++ code. --- src/complete.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/complete.cpp b/src/complete.cpp index 25dae2747..789c97da0 100644 --- a/src/complete.cpp +++ b/src/complete.cpp @@ -1567,8 +1567,7 @@ static wrapper_map_t &wrap_map() { return *wrapper_map; } -/// Add a new target that is wrapped by command. Example: __fish_sgrep (command) wraps grep -/// (target). +/// Add a new target that wraps a command. Example: __fish_XYZ (function) wraps XYZ (target). bool complete_add_wrapper(const wcstring &command, const wcstring &new_target) { if (command.empty() || new_target.empty()) { return false;