aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/common-args.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-10-29 18:26:35 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-10-29 18:26:35 +0100
commit7f56cf67bac3731ed8e217170eb548bf0fd2cfcb (patch)
tree5536d2585df3fe88c999290f9d84070b21b05d0f /src/libmain/common-args.cc
parentff4dea63c9403880500f82ce273713ecf793d2d9 (diff)
Fix assertion failure in tab completion for --option
Diffstat (limited to 'src/libmain/common-args.cc')
-rw-r--r--src/libmain/common-args.cc2
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));
}
}
});