Refactor: make function static and reformat

"IndentCaseLabels: false" seems nice but not now.
This commit is contained in:
Johannes Altmanninger 2020-09-22 00:16:00 +02:00
parent 383f1d1a19
commit ca538fa8d8

View file

@ -1666,7 +1666,7 @@ static void append_switch(wcstring &out, const wcstring &opt) {
append_format(out, L" --%ls", opt.c_str());
}
wcstring completion2string(const complete_entry_opt_t &o, wcstring cmd, bool is_path) {
static wcstring completion2string(const complete_entry_opt_t &o, wcstring cmd, bool is_path) {
wcstring out;
out.append(L"complete");