diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-11-26 00:37:43 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-11-26 00:38:01 +0100 |
commit | 215b70f51e5abd350c9b7db656aedac9d96d0046 (patch) | |
tree | 95778448ecdfbc1d8f4c254813cc5d91ed62a832 /src/nix/command.cc | |
parent | f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7 (diff) |
Revert "Get rid of unicode quotes (#1140)"
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There
really is no need for such a massive change...
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r-- | src/nix/command.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc index 0a903a6b8..5a8288da9 100644 --- a/src/nix/command.cc +++ b/src/nix/command.cc @@ -27,7 +27,7 @@ MultiCommand::MultiCommand(const Commands & _commands) assert(!command); auto i = commands.find(ss.front()); if (i == commands.end()) - throw UsageError(format("'%1%' is not a recognised command") % ss.front()); + throw UsageError(format("‘%1%’ is not a recognised command") % ss.front()); command = i->second; }}); } @@ -54,7 +54,7 @@ void MultiCommand::printHelp(const string & programName, std::ostream & out) printTable(out, table); out << "\n"; - out << "For full documentation, run 'man " << programName << "' or 'man " << programName << "-<COMMAND>'.\n"; + out << "For full documentation, run ‘man " << programName << "’ or ‘man " << programName << "-<COMMAND>’.\n"; } bool MultiCommand::processFlag(Strings::iterator & pos, Strings::iterator end) @@ -95,7 +95,7 @@ void StorePathsCommand::run(ref<Store> store) { if (all) { if (storePaths.size()) - throw UsageError("'--all' does not expect arguments"); + throw UsageError("‘--all’ does not expect arguments"); for (auto & p : store->queryAllValidPaths()) storePaths.push_back(p); } |