mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 22:12:43 +01: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