5 ms·
I laugh at verbose options that are: -v for basic verbose -vv for more -vvv for even more -vvvv oh come on you've got to be kidding -vvvvv nope, they're no
by gotaquestion 5y ago
I laugh at verbose options that are:
-v for basic verbose
-vv for more
-vvv for even more
-vvvv oh come on you've got to be kidding
-vvvvv nope, they're not kidding
- banana_giraffe 5y agoI keep hoping someone will do this with -v², -v³, and so on.
- Aachen 5y agoWhere the base value is two and -v³ is a shortcut for -vvvvvvvv? Because it wouldn't work with a base of one (1³=1). Just assessing expectations because I do like the idea and would implement it (in addition to the expected way) next time it comes up
- banana_giraffe 5y agoIn my mind, -v³ would be the same as -vvv, and -v⁴ for -vvvv, and on and on. I suppose you could really take it to some absurd level with -v¹⁰ for -vvvvvvvvvv
- layer8 5y agoThe v is log scale, which does make some sense in terms of output volume. ;)
- na85 5y agoAh, but you'd have to error on any even power, since of course a negative squared is positive, thus -v^2 would be v^2 and without the dash you can't be sure it's a switch.
- floodle 5y agoThere's an easy solution to this: just use i for even exponents. So (-iv)² = -vv and once you've escaped the brackets in bash all is good. I think we're on to something here....
- contravariant 5y agoNah exponents have higher precedence than signs, it gets annoying otherwise.
- limoce 5y ago-vv ⇒ -w -vvvv ⇒ -ww Just a joke :)
- tillinghast 5y agoAnd yet… now I am deeply wishing for this. :-)
- yrro 5y ago-w should be equivalent to -uu surely!
- filmor 5y agoNot in France ;)
- account42 5y agoWell usually you can use -vvvv -> -vv -vv so if you make your font size small enough that vv looks like a w..
- saghm 5y agoI absolutely hate this convention. Not only is there often very little documentation about what exactly gets added in for each verbosity level, making me guess randomly and then maybe binary search to find what I need with minimal noise, its basically impossible for me to differentiate repeated characters beyond 4 without using a cursor to step though them. I don't have any opposition to fine-grained log levels, but geez, just make it `-v [VERBOSITY (default 1)]` or something sane like that.