Systemd/src/journal-remote
Zbigniew Jędrzejewski-Szmek 601185b43d Unify parse_argv style
getopt is usually good at printing out a nice error message when
commandline options are invalid. It distinguishes between an unknown
option and a known option with a missing arg. It is better to let it
do its job and not use opterr=0 unless we actually want to suppress
messages. So remove opterr=0 in the few places where it wasn't really
useful.

When an error in options is encountered, we should not print a lengthy
help() and overwhelm the user, when we know precisely what is wrong
with the commandline. In addition, since help() prints to stdout, it
should not be used except when requested with -h or --help.

Also, simplify things here and there.
2014-08-03 21:46:07 -04:00
..
.gitignore journal-upload: add config file 2014-07-15 22:34:41 -04:00
browse.html Move network-related journal programs to src/journal-remote/ 2014-07-15 22:23:47 -04:00
journal-gatewayd.c Unify parse_argv style 2014-08-03 21:46:07 -04:00
journal-remote-parse.c journal-remote: avoid copying input data 2014-07-15 22:34:42 -04:00
journal-remote-parse.h journal-remote: avoid copying input data 2014-07-15 22:34:42 -04:00
journal-remote-write.c journal-remote: fix double typedef and add missing header 2014-07-16 07:53:02 -04:00
journal-remote-write.h journal-remote: avoid copying input data 2014-07-15 22:34:42 -04:00
journal-remote.c Unify parse_argv style 2014-08-03 21:46:07 -04:00
journal-remote.conf.in journal-remote: allow splitting incoming logs by source host 2014-07-15 22:31:41 -04:00
journal-remote.h journal-remote: fix double typedef and add missing header 2014-07-16 07:53:02 -04:00
journal-upload-journal.c journal-upload: make state persistent 2014-07-15 22:23:48 -04:00
journal-upload.c journal-remote: rename KEY_FILE to avoid confict with <linux/input.h> 2014-08-03 01:12:30 -04:00
journal-upload.conf.in journal-upload: add config file 2014-07-15 22:34:41 -04:00
journal-upload.h journal-remote: let user specify just the main part of the url 2014-07-15 22:34:41 -04:00
log-generator.py Add simple generator of fake journal export stream 2014-07-15 22:31:40 -04:00
Makefile Move network-related journal programs to src/journal-remote/ 2014-07-15 22:23:47 -04:00
microhttpd-util.c µhttp-util: fix compilation without gnutls 2014-07-15 22:34:42 -04:00
microhttpd-util.h journal-remote: allow splitting incoming logs by source host 2014-07-15 22:31:41 -04:00