From f8d82ce92c0c02032bfa411d5e3b103db8ffdcec Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Tue, 25 Apr 2023 09:01:41 +0200 Subject: [PATCH] - improved error logging --- client/GlobalOptions.cc | 3 +++ client/GlobalOptions.h | 2 ++ client/snapper.cc | 16 ++++++++++-- dbus/DBusConnection.cc | 23 +++++++++--------- dbus/DBusMainLoop.cc | 12 ++++----- dbus/DBusMessage.cc | 54 ++++++++++++++++++++--------------------- dbus/DBusMessage.h | 17 +++++++------ dbus/DBusPipe.cc | 6 ++--- doc/snapper.xml.in | 6 +++++ server/Client.cc | 28 ++++++++++----------- server/MetaSnapper.cc | 2 +- 11 files changed, 98 insertions(+), 71 deletions(-) diff --git a/client/GlobalOptions.cc b/client/GlobalOptions.cc index 966c1065..eee8dc63 100644 --- a/client/GlobalOptions.cc +++ b/client/GlobalOptions.cc @@ -40,6 +40,7 @@ namespace snapper return string(_(" Global options:")) + '\n' + _("\t--quiet, -q\t\t\tSuppress normal output.") + '\n' + _("\t--verbose, -v\t\t\tIncrease verbosity.") + '\n' + + _("\t--debug\t\t\t\tTurn on debugging.") + '\n' + _("\t--utc\t\t\t\tDisplay dates and times in UTC.") + '\n' + _("\t--iso\t\t\t\tDisplay dates and times in ISO format.") + '\n' + _("\t--table-style, -t