summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-01-15 23:44:23 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-01-15 23:44:31 +0900
commit3e7e587d327d459c089920a1826bdd2102ea45dd (patch)
treec645bfead38128fa851743872bf473ad26d42472
parent444c1915f94d7109b5fd97277b049ed17289848d (diff)
downloadsystemd-3e7e587d327d459c089920a1826bdd2102ea45dd.tar.gz
systemctl: comment that the verb 'check' is deprecated
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 906eb1879a..e44241fd3a 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -8409,7 +8409,7 @@ static int systemctl_main(int argc, char *argv[]) {
{ "isolate", 2, 2, VERB_ONLINE_ONLY, start_unit },
{ "kill", 2, VERB_ANY, VERB_ONLINE_ONLY, kill_unit },
{ "is-active", 2, VERB_ANY, VERB_ONLINE_ONLY, check_unit_active },
- { "check", 2, VERB_ANY, VERB_ONLINE_ONLY, check_unit_active },
+ { "check", 2, VERB_ANY, VERB_ONLINE_ONLY, check_unit_active }, /* deprecated alias of is-active */
{ "is-failed", 2, VERB_ANY, VERB_ONLINE_ONLY, check_unit_failed },
{ "show", VERB_ANY, VERB_ANY, VERB_ONLINE_ONLY, show },
{ "cat", 2, VERB_ANY, VERB_ONLINE_ONLY, cat },