Comments (1)
This behavior was explicitly changed in f4e680d
:
- if [[ $2 && $2 != -* ]]; then
+ if [[ $2 ]]; then
The current behavior is the intended and preferred one, closing.
from bashly.
Related Issues (20)
- Send errors to stderr HOT 7
- Upgrade template & utility functions HOT 3
- Only commands can be imported? HOT 4
- Is there a way to create global flags? HOT 11
- Issues with `normalize_input` and `catch_all` HOT 14
- Ambiguous error messages HOT 8
- Make invalid `expose` warn instead of error HOT 8
- Error when splitting configuration in sub/nested commands HOT 5
- Alias a command to a subcommand HOT 20
- Ambiguous error messages HOT 11
- Multiple global flags do not work HOT 1
- Bad completions generated when global flags are in use
- Add support for loading lib files with different extensions HOT 14
- Gem, GitHub release, and Docker image are out of sync HOT 2
- Support setting color for commands HOT 2
- validations on repeatable arguments are only applied to the first value provided HOT 5
- Validate all examples with `shfmt` HOT 5
- exit/return behavior of wrapped scripts HOT 7
- `catch_all` argument and flag parsing consistent with GNU getopt HOT 10
- Split config file for commands HOT 1
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 bashly.