]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
client: Alias display-message command to message for backward compatibility
authorCharlie Brej <cbrej@cs.man.ac.uk>
Tue, 7 Sep 2010 22:45:31 +0000 (23:45 +0100)
committerCharlie Brej <cbrej@cs.man.ac.uk>
Tue, 7 Sep 2010 22:45:31 +0000 (23:45 +0100)
src/client/plymouth.c

index ffde13267c033c7e10c86acff4eb6854b9097985..e6c5dfda4dc42e81250adcd67590076e7091c970 100644 (file)
@@ -965,7 +965,9 @@ main (int    argc,
                                   "text", "The message text",
                                   PLY_COMMAND_OPTION_TYPE_STRING,
                                   NULL);
-
+  ply_command_parser_add_command_alias (state.command_parser,
+                                        "display-message",
+                                        "message");
   ply_command_parser_add_command (state.command_parser,
                                   "hide-message", "Hide a message",
                                   (ply_command_handler_t)