chiark / gitweb /
Quote unit names in suggested systemctl commandlines
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 31 Aug 2014 04:42:27 +0000 (00:42 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 31 Aug 2014 04:42:27 +0000 (00:42 -0400)
commit8e07fc41f86d41e68c5663b2a3c620a0adedcc11
tree9b33cc114a2abd83d68b5f942476c574636f0472
parent42377d6bb771c31bff931f83163972fdcb224d0c
Quote unit names in suggested systemctl commandlines

The fact that unit names have to be quoted can be a bit surprising.
Show quotes in the hint commandline, but only after checking that this
is necessary, since quotes are visually heavy and usually not needed.

https://bugs.freedesktop.org/show_bug.cgi?id=82832
src/core/job.c
src/systemctl/systemctl.c