mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Get rid of unicode quotes (#1140)
This commit is contained in:
parent
7ee43df862
commit
f78126bfd6
96 changed files with 670 additions and 670 deletions
|
@ -13,7 +13,7 @@ bool parseAutoArgs(Strings::iterator & i,
|
|||
string arg = *i;
|
||||
if (arg != "--arg" && arg != "--argstr") return false;
|
||||
|
||||
UsageError error(format("‘%1%’ requires two arguments") % arg);
|
||||
UsageError error(format("'%1%' requires two arguments") % arg);
|
||||
|
||||
if (++i == argsEnd) throw error;
|
||||
string name = *i;
|
||||
|
@ -46,7 +46,7 @@ bool parseSearchPathArg(Strings::iterator & i,
|
|||
const Strings::iterator & argsEnd, Strings & searchPath)
|
||||
{
|
||||
if (*i != "-I") return false;
|
||||
if (++i == argsEnd) throw UsageError("‘-I’ requires an argument");
|
||||
if (++i == argsEnd) throw UsageError("'-I' requires an argument");
|
||||
searchPath.push_back(*i);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue