Comments (4)
That's only done if there's a single -
, which denotes a single-letter flag/argument. That's how basically all *nix tools work.
from commandant.
do all nix tools randomly reorder the input in the error message?
from commandant.
This issue isn't about the fact that there is an error message. this issue is about the formatting and content of the error message.
from commandant.
It looks like most tools bail on the first unknown option:
$ python -asenxtaboe
Unknown option: -a
I'm not sure if that's better as it gives you less information.
from commandant.
Related Issues (20)
- Detect --help, and run help HOT 2
- Can't run tests on Linux HOT 6
- Any objections to cutting a release? HOT 2
- One `OrderedSet` test fails HOT 3
- Help message for Argument could be improved HOT 2
- Add owners to pod on CocoaPod trunk HOT 1
- Subcommand feature does not work on Ubuntu
- Drop Result dependency and implement Swift 5 Result
- 🍫 Podspec: Unrecognized `swift_version` key. HOT 1
- Aliases
- Cannot install using SPM
- `carthage checkout ` fails on using Commandant v0.8.3 HOT 3
- Adding dependencies to a CommandType's OptionType at init/evaluate time? HOT 5
- How can we declare consuming variadic arguments including `-` prefixed one in `OptionsType` HOT 3
- Recursive commands HOT 2
- The version 0.11 is not recognized with SPM. HOT 7
- swift build on Linux fails
- Release configuration build fails on Linux HOT 2
- Passing a Switch key is ignored if the Switch contains a flag 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 commandant.