#243 closed defect (invalid)
output goes to both stdout and output.xmltv by default
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 1.0 |
Component: | Shepherd | Version: | 1.x |
Keywords: | dZadAwFc | Cc: |
Description
Since #241 was fixed, running "shepherd --quiet" results in output to both stdout and output.xmltv.
Although not a showstopper by any means, it seems messy. If you are just interested in stdout, there is no way to turn off the output to output.xmltv. And vice-versa (--quiet is no longer quiet!).
Perhaps a --nooutput option?
Attachments (1)
Change History (6)
comment:1 follow-up: 3 Changed 13 years ago by
Changed 13 years ago by
Attachment: | add_nooutput_to_help.patch added |
---|
Patch to add --nooutput option to help.
comment:2 Changed 13 years ago by
Ah crap, after looking at the script, I see --nooutput was there all along - just not in the --help output. See one line patch to fix this.
comment:3 Changed 13 years ago by
Replying to justin@…:
Better (?) solution: if --output is specified, output only goes to the specified file. Otherwise it goes to stdout.
That's exactly what it does.
comment:4 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing because I think Shepherd already behaves as requested... please reopen if I'm wrong.
Better (?) solution: if --output is specified, output only goes to the specified file. Otherwise it goes to stdout.