1
0
Fork 0
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:
Tom Bereknyei 2023-05-12 07:44:25 -04:00 committed by tomberek
parent e6ed729243
commit bbeddf0602
3 changed files with 9 additions and 7 deletions

View file

@ -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.