mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Use proper quotes everywhere
This commit is contained in:
parent
373fad75e1
commit
11849a320e
54 changed files with 548 additions and 543 deletions
|
@ -12,7 +12,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;
|
||||
|
@ -43,7 +43,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