Comments (4)
@whoizit try redirecting stderr to stdout in order to capture it via pipe, like so:
dms -h 2>&1 | grep -i trans
from dms.
I don't think it's worth fixing. I would consider switching to https://github.com/anacrolix/bargle/tree/ng or https://github.com/anacrolix/tagflag, both of which correctly output usage to stdout, but they're probably unfamiliar to contributors and not worth the effort as argument parsing in this repo is very straightforward. There are enough apps out there that already incorrectly output usage to stderr too, so it's a common pattern people expect.
When this repo does eventually switch to a better command line parsing implementation, I expect this will be fixed at the same time.
from dms.
I think the Go standard library stupidly reports usage to os.Stderr. I think you can override it for the help case. PR welcome!
from dms.
I can probably fix this now, I'll look into it.
from dms.
Related Issues (20)
- can not serv the flac and mp3 file HOT 1
- BubbleUPnP and DMS HOT 3
- HomeAssistant TorrServe error HOT 1
- dms binary can't be executed in NixOS. HOT 6
- binary: log level configuration HOT 1
- got an SSDP server running in LAN already, so how to disable SSDP listening in dms? HOT 7
- ssdp panic while caltulating delay time HOT 2
- Verbose/Debug output? HOT 3
- broken pipe from ffmpeg when transcoding HOT 3
- old LG stalled subscribe connection went away HOT 3
- Subtitles HOT 1
- Can it cast to Chromecast audio directly? HOT 2
- Samsung TV: Video found but cannot be played (works on minidnla, trace attached) HOT 10
- Serving media from non-local/dummy filesystem HOT 6
- foobar2k iOS? HOT 1
- Not discovered by LG WebOS HOT 4
- Path must be absolute HOT 5
- docs HOT 1
- how to use ffmpeg instead avconv? HOT 2
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 dms.