From e66c1a6c283b7e4dbb15be31c58e3b3711e3eb4f Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Thu, 10 Apr 2014 15:02:30 +0200 Subject: [PATCH] - simplification --- client/snapper.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/snapper.cc b/client/snapper.cc index 91568321..e907b397 100644 --- a/client/snapper.cc +++ b/client/snapper.cc @@ -1322,11 +1322,7 @@ help_cleanup() void command_cleanup(DBus::Connection* conn, Snapper* snapper) { - const struct option options[] = { - { 0, 0, 0, 0 } - }; - - GetOpts::parsed_opts opts = getopts.parse("cleanup", options); + GetOpts::parsed_opts opts = getopts.parse("cleanup", GetOpts::no_options); if (getopts.numArgs() != 1) { cerr << _("Command 'cleanup' needs one arguments.") << endl; -- 2.47.3