diff options
author | Daniel Mueller <deso@posteo.net> | 2019-02-08 18:13:28 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-02-08 18:13:28 -0800 |
commit | 41f352bff4d7cb221d009b1bfc7f0664bea9b348 (patch) | |
tree | 4587b2d903a2733bb1c04d67e2caf64b8704b34a /libc/src/unix/bsd/netbsdlike/openbsdlike/mod.rs | |
parent | d8477e9f1f8d687f7e8cecd3abf634304a6b351f (diff) | |
download | nitrocli-41f352bff4d7cb221d009b1bfc7f0664bea9b348.tar.gz nitrocli-41f352bff4d7cb221d009b1bfc7f0664bea9b348.tar.bz2 |
Consume ArgumentParser object as part of parsing
We have introduced the parse function to unify the common parsing
related tasks. In that vein, this change goes one step further and
adjusts the function to actually consume the ArgumentParser object used
by it.
All clients using this function actually do not access the parser
afterwards, and, in fact, some of them have to explicitly drop it
because of borrow conflicts with "referred" arguments.
Diffstat (limited to 'libc/src/unix/bsd/netbsdlike/openbsdlike/mod.rs')
0 files changed, 0 insertions, 0 deletions