Comments (3)
The --select
option now expects an optional argument.
Using the short option (-s
) with the optional argument is valid, according to here:
getopt(3) — Linux manual page
Two colons mean an option takes an optional arg; if there is text in the current argv-element (i.e., in the same word as the option name itself, for example, "-oarg"), then it is returned in optarg, otherwise optarg is set to zero.
Ex:
-o arg
default argument
-o
default argument
-oarg
optional argument given
from scrot.
That is a fair point, but it's still the case that scripts that were previously broken (because e.g. they invoke scrot -sf
) are now broken.
from scrot.
I don't like breaking behaviors just for the sake of it, but I don't think that's dogma either 🔥
The new features (hide/hold/blur)
are tied to selection and the only way the user communicates with us is through arguments and the best place for this was for the --select
option to determine the behavior.
Anyway, I see that you already solved the problem easily.
from scrot.
Related Issues (20)
- XChangeProperty() errors aren't checked HOT 1
- assert() showing up in OS packages
- Document the minimum version for dependencies HOT 7
- Scrot needs patching to be packaged on Termux HOT 5
- The license in our README is wrong HOT 4
- Support shell completion
- `--enable-libbsd-feature-test` is unsound
- Add Termux to CI HOT 1
- scrot: received DestroyNotify event HOT 1
- Scrot doesn't capture VLC fullscreen HOT 3
- selection edge: detect selection repaint more reliably
- Add additional CI targets HOT 2
- screenshot of a 10bpc screen comes out 8bit HOT 3
- build failure on SmartOS and other Solaris-based systems due to `dprintf` HOT 2
- lack of information when scrot renames the output file because it already exists HOT 3
- image quality issues HOT 2
- Selection via keyboard
- --freeze by default, when using scrot -s HOT 3
- unicode hyphen in man page instead of ASCII hyphen-minus HOT 2
- How to save screenshots to a specific directory 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 scrot.