]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- fixed option handling
authorArvin Schnell <aschnell@suse.de>
Wed, 29 Jun 2011 16:10:35 +0000 (18:10 +0200)
committerArvin Schnell <aschnell@suse.de>
Wed, 29 Jun 2011 16:10:35 +0000 (18:10 +0200)
tools/snapper.cc

index b0c6a823efc464a65ee51912cf3d864f0d225751..62c05de58ecd58698670d46eed5dd31086ec56ee 100644 (file)
@@ -347,7 +347,7 @@ command_create()
     if ((opt = opts.find("print-number")) != opts.end())
        print_number = true;
 
-    if ((opt = opts.find("cleanup")) != opts.end())
+    if ((opt = opts.find("cleanup-algorithm")) != opts.end())
        cleanup = opt->second;
 
     switch (type)