diff --git a/client/GlobalOptions.cc b/client/GlobalOptions.cc index 9c8d5e00..0aa42f16 100644 --- a/client/GlobalOptions.cc +++ b/client/GlobalOptions.cc @@ -21,6 +21,7 @@ #include +#include "utils/help.h" #include "misc.h" #include "client/GlobalOptions.h" #include "client/utils/text.h" @@ -34,27 +35,30 @@ namespace snapper using namespace std; - string - GlobalOptions::help_text() + void + GlobalOptions::help_global_options() { - 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