These are chat archives for kbknapp/clap-rs

24th
Jun 2016
Brian Pearce
@brianp
Jun 24 2016 22:59
You mentioned for perf I could use get_matches_from_safe_borrow but it expects a param of Vec<&str> -the args passed. Where can I pull the vec of str from?
Kevin K.
@kbknapp
Jun 24 2016 23:07
env::args
You may have tomap it
And that's valid UTF-8 args only...in case that matters to you
Brian Pearce
@brianp
Jun 24 2016 23:08
cool. Thanks. That was one of those, I probably should have guessed it’s the simplest answer.
Kevin K.
@kbknapp
Jun 24 2016 23:08
Of course there's also nothing stopping me from adding a get_matches_borrow
I just haven't done it or needed it yet I guess
Hahha no worries :+1:
Brian Pearce
@brianp
Jun 24 2016 23:10
You cranked out a fix for that print_help vs default help issue too. You were closing issues like mad last night. I was going to look at it today. Had to find something else to do now
:P
Kevin K.
@kbknapp
Jun 24 2016 23:11
Haha sorry I got on a roll!
You can add the get_matches_borrow ;)