mirror of
https://github.com/NixOS/nix
synced 2025-07-01 04:18:00 +02:00
fix: refactor parseCmdline interface
This commit is contained in:
parent
e6ed729243
commit
bbeddf0602
3 changed files with 9 additions and 7 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
* Parse the command line with argv0, throwing a UsageError if something
|
||||
goes wrong.
|
||||
*/
|
||||
void parseCmdline(const std::string & argv0, const Strings & cmdline);
|
||||
void parseCmdline(const Strings & _cmdline, bool allowShebang);
|
||||
|
||||
/**
|
||||
* Return a short one-line description of the command.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue