Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Default unknown arguments on commands to -h? #760

envygeeks opened this Issue · 0 comments

2 participants


I think it would be great if Pry were to default arguments for commands (example ls -C MyClass) to default to help like normal Unix/Linux commands most of the time do. This avoids ambiguous errors that can sometimes happen (for example with the ls -C MyClass example I gave) where it points directly to a Pry source file.

What I mean is, it would be awesome if pry just took in the -C and showed a small error at the top (something to the effect of "Unknown argument" and showed the help.) Or, just "Unknown argument", instead of letting it fall to an exception that can lead users in the wrong in the example I gave (if they don't pay close enough attention.)

@rf- rf- added the feature label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.