diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-10-29 18:26:35 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-10-29 18:26:35 +0100 |
commit | 7f56cf67bac3731ed8e217170eb548bf0fd2cfcb (patch) | |
tree | 5536d2585df3fe88c999290f9d84070b21b05d0f /src/libmain/common-args.cc | |
parent | ff4dea63c9403880500f82ce273713ecf793d2d9 (diff) |
Fix assertion failure in tab completion for --option
Diffstat (limited to 'src/libmain/common-args.cc')
-rw-r--r-- | src/libmain/common-args.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/common-args.cc b/src/libmain/common-args.cc index 9151a0344..3e4e475e5 100644 --- a/src/libmain/common-args.cc +++ b/src/libmain/common-args.cc @@ -44,7 +44,7 @@ MixCommonArgs::MixCommonArgs(const string & programName) globalConfig.getSettings(settings); for (auto & s : settings) if (hasPrefix(s.first, prefix)) - completions->add(s.first, s.second.description); + completions->add(s.first, fmt("Set the `%s` setting.", s.first)); } } }); |