]> granicus.if.org Git - icinga2/commitdiff
Cli: Fix error message for clearing repository commit changes
authorMichael Friedrich <michael.friedrich@netways.de>
Sun, 2 Nov 2014 17:22:51 +0000 (18:22 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Sun, 2 Nov 2014 17:22:51 +0000 (18:22 +0100)
lib/cli/nodeupdateconfigcommand.cpp

index 57079affc2ec110d5468a1f9759766f5c9f24626..1a0d62b7ca9741e99355e17086585e8b7cf603ab 100644 (file)
@@ -63,7 +63,7 @@ int NodeUpdateConfigCommand::Run(const boost::program_options::variables_map& vm
                Log(LogWarning, "cli")
                    << "There are pending changes for commit.\n"
                    << "Please review and commit them using 'icinga2 repository commit [--simulate]'\n"
-                   << "or drop them using 'icinga2 repository commit --clear' before proceeding.";
+                   << "or drop them using 'icinga2 repository clear-changes' before proceeding.";
                return 1;
        }