Comments (1)
The little documentation there is says:
-x or --exclusive OPTIONS
A comma separated list of options that are mutually exclusive. You can use this more than once to define multiple sets of mutually exclusive options.
What this means is that you define which of your options conflict with each other. You'll still need to define them as options to argparse, and it only wants the short or the long part, not the full opt-spec.
So you would do something like
argparse --exclusive bin,lib b/bin l/lib -- $argv
and if you give it --bin -l
it will then give an error telling you that those two options "cannot be used together".
I guess we can explain that and add an example.
from fish-shell.
Related Issues (20)
- Unnecessary capitalization / completion for command `scp` HOT 1
- curl file completion doesn't work for @ HOT 3
- export function not expanding tilde HOT 1
- Documentation: `export` works fine HOT 3
- [Feature] Allow non-127 returns from fish_command_not_found HOT 1
- How to sync history only when ctrl+r shotcut press?
- Build fails without a C++ compiler HOT 1
- No documentation for "internally generated named events" HOT 2
- disown key binding to fzf with xargs HOT 2
- detect shell is fish in executable for auto-complete HOT 2
- Shell Input Redirect Fails HOT 5
- Weird error whenever I open terminal HOT 3
- large memory usage when run large lines code HOT 1
- Crash on vim mode: `/src/input.cpp:367: failed assertion: event_storage_.empty() && "event_storage_ should be empty"` HOT 7
- UX: History pager changes number of columns while typing
- fish: Unknown command: __history_previous_command_arguments HOT 1
- Pasting long text makes the terminal go completely blank. HOT 2
- `abbr` function callback environment has `status is-command-substitition` true HOT 1
- Make autocomplete able to correct typos HOT 5
- disktutil eject autocomplete not showing volumes on MacOS
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 fish-shell.