Comments (7)
Actually, I'm not sure that this is a bug. --verbose
prints a stack trace for any uncaught exception. @irrationalfab, can I close this?
from claide.
Printing the backtrace when the --verbose
option is given is by design. While it makes less sense in the case of --help
, I’d prefer that logic to stay simple and consistent.
from claide.
@alloy why is the help an exception?
from claide.
@irrationalfab I assume you mean the help!
method? It’s so you can find the location in the source where from the apparent inability to do something is raised, making it easier to debug and fix/enhance.
from claide.
I think that it should not be an exception if invoked by the --help
flag.
from claide.
Ok, that’s fair, so it should just print and exit from here.
@mrackwitz Are you willing to look into whipping up a patch for this?
from claide.
from claide.
Related Issues (20)
- Public HOT 1
- `--no-ansi` is not stripping colours HOT 14
- `pod install help` (invalid command) raises exception HOT 1
- CLAide::Argument Exists ? HOT 1
- Nil Class Error on multiple Arguments
- Make it easier to invoke a command HOT 7
- Remove ZSH completion code HOT 7
- handle -- correctly
- Add support for short switches HOT 2
- Open source plugin system HOT 3
- Add CHANGELOG for new plugin manager HOT 1
- Allow to declare options HOT 3
- warning: loading in progress, circular require considered harmful
- Fix warnings HOT 3
- Method missing: full_require_paths on macOS system Ruby HOT 12
- Could it add a command to generate a zsh autocompletion function? HOT 1
- What should I do to make a CLAide command visible to shell? HOT 1
- How to get user input when it run? HOT 1
- CLAide incompatible with RubyGems-3.3.0+ HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from claide.