Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#243 closed defect (invalid)

output goes to both stdout and output.xmltv by default

Reported by: justin@… 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)

add_nooutput_to_help.patch (455 bytes) - added by justin@… 13 years ago.
Patch to add --nooutput option to help.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by justin@…

Better (?) solution: if --output is specified, output only goes to the specified file. Otherwise it goes to stdout.

Changed 13 years ago by justin@…

Attachment: add_nooutput_to_help.patch added

Patch to add --nooutput option to help.

comment:2 Changed 13 years ago by justin@…

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 in reply to:  1 Changed 13 years ago by Max

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 Max

Resolution: invalid
Status: newclosed

Closing because I think Shepherd already behaves as requested... please reopen if I'm wrong.

comment:5 Changed 12 years ago by tramadol 000

Keywords: dZadAwFc added
Milestone: 1.0
Note: See TracTickets for help on using tickets.