searchcmd
searchcmd copied to clipboard
Arguments in search query are not allowed
First of all want to clarify either this is bug or not. When I try to search something with argument in parentheses ArgumentParser recognises it like argument to searchcmd itself. It is ok?
searchcmd docker run "-P"
searchcmd: error: unrecognized arguments: -P
It's a bug alright, in argparse: http://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it
A temporary workaround could be to add an extra space:
searchcmd docker run " -P"