summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-22 13:38:48 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-22 15:30:19 -0400
commitdfdd0e0730385eef08f019863fd41168b05b6ab0 (patch)
tree57bf6b7f19bc0cc847c28fb83271e43c4bfc590c
parentbfff8f072d4ddbf0410aae80c62cd6ee5ebc0701 (diff)
Add systemd-coredumpctl as an alias for coredumpctl
Should make the transition easier for exisiting users.
-rw-r--r--Makefile-man.am6
-rw-r--r--Makefile.am3
-rw-r--r--man/coredumpctl.xml6
3 files changed, 13 insertions, 2 deletions
diff --git a/Makefile-man.am b/Makefile-man.am
index 1e4ec6793e..edea4c3652 100644
--- a/Makefile-man.am
+++ b/Makefile-man.am
@@ -666,8 +666,10 @@ if ENABLE_COREDUMP
MANPAGES += \
man/coredumpctl.1
MANPAGES_ALIAS += \
- #
-
+ man/systemd-coredumpctl.1
+man/systemd-coredumpctl.1: man/coredumpctl.1
+man/systemd-coredumpctl.html: man/coredumpctl.html
+ $(html-alias)
endif
diff --git a/Makefile.am b/Makefile.am
index 8fe7cbe861..20b6082531 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3794,6 +3794,9 @@ dist_bashcompletion_DATA += \
dist_zshcompletion_DATA += \
shell-completion/zsh/_coredumpctl
+GENERAL_ALIASES += \
+ $(bindir)/coredumpctl $(bindir)/systemd-coredumpctl
+
sysctl_DATA = \
sysctl.d/50-coredump.conf
diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml
index 5ea865eaa2..0cd3fe558d 100644
--- a/man/coredumpctl.xml
+++ b/man/coredumpctl.xml
@@ -45,6 +45,8 @@
<refnamediv>
<refname>coredumpctl</refname>
+ <refname>systemd-coredumpctl</refname>
+
<refpurpose>Retrieve coredumps from the journal</refpurpose>
</refnamediv>
@@ -63,6 +65,10 @@
<para><command>coredumpctl</command> may be used to
retrieve coredumps from
<citerefentry><refentrytitle>systemd-journald</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
+
+ <para><command>systemd-coredumpctl</command> is a
+ depracated alias for
+ <command>coredumpctl</command>.</para>
</refsect1>
<refsect1>